Skip to content

Commit 757f814

Browse files
authored
Merge pull request modelcontextprotocol#739 from hesreallyhim/docs/fix-endpoint-wording
docs: fix improper usage of the term "endpoint"
2 parents 60183eb + 34562d6 commit 757f814

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/docs/concepts/prompts.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Each prompt is defined with:
4141

4242
## Discovering prompts
4343

44-
Clients can discover available prompts through the `prompts/list` endpoint:
44+
Clients can discover available prompts by sending a `prompts/list` request:
4545

4646
```typescript
4747
// Request

docs/docs/concepts/resources.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Clients can discover available resources through two main methods:
7878

7979
### Direct resources
8080

81-
Servers expose a list of concrete resources via the `resources/list` endpoint. Each resource includes:
81+
Servers expose a list of resources via the `resources/list` request. Each resource includes:
8282

8383
```typescript
8484
{

docs/docs/concepts/tools.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ Tools are designed to be **model-controlled**, meaning that tools are exposed fr
1515

1616
Tools in MCP allow servers to expose executable functions that can be invoked by clients and used by LLMs to perform actions. Key aspects of tools include:
1717

18-
- **Discovery**: Clients can list available tools through the `tools/list` endpoint
19-
- **Invocation**: Tools are called using the `tools/call` endpoint, where servers perform the requested operation and return results
18+
- **Discovery**: Clients can obtain a list of available tools by sending a `tools/list` request
19+
- **Invocation**: Tools are called using the `tools/call` request, where servers perform the requested operation and return results
2020
- **Flexibility**: Tools can range from simple calculations to complex API interactions
2121

2222
Like [resources](/docs/concepts/resources), tools are identified by unique names and can include descriptions to guide their usage. However, unlike resources, tools represent dynamic operations that can modify state or interact with external systems.

0 commit comments

Comments
 (0)