Skip to content

Commit 09de25b

Browse files
MQ37jirispilka
andauthored
docs(mcp): add note regarding the dynamic tool discovery logic based on client capabilities (#1973)
close: #1974 --------- Co-authored-by: Jiri Spilka <[email protected]>
1 parent 986e611 commit 09de25b

File tree

1 file changed

+21
-9
lines changed
  • sources/platform/integrations/ai

1 file changed

+21
-9
lines changed

sources/platform/integrations/ai/mcp.md

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -252,19 +252,13 @@ Use the UI configurator `https://mcp.apify.com/` to select your tools visually,
252252

253253
:::
254254

255-
### Dynamic tool discovery
256-
257-
One of the most powerful features is the ability to discover and use new Actors on demand. It can search Apify Store for relevant Actors using the `search-actors` tool, inspect Actor details to understand required inputs, add the Actor as a new tool, and execute it with appropriate parameters.
258-
259-
This dynamic discovery means your AI can adapt to new tasks without manual configuration. Each discovered Actor becomes immediately available for future use in the conversation.
260-
261255
### Available tools
262256

263257
| Tool name | Category | Enabled by default | Description |
264258
| :--- | :--- | :--- | :--- |
265259
| `search-actors` | actors || Search for Actors in Apify Store |
266260
| `fetch-actor-details` | actors || Retrieve detailed information about a specific Actor |
267-
| `call-actor` | actors | | Call an Actor and get its run results |
261+
| `call-actor`* | actors | | Call an Actor and get its run results |
268262
| [`apify/rag-web-browser`](https://apify.com/apify/rag-web-browser) | Actor || Browse and extract web data |
269263
| `search-apify-docs` | docs || Search the Apify documentation for relevant pages |
270264
| `fetch-apify-docs` | docs || Fetch the full content of an Apify documentation page by its URL |
@@ -279,15 +273,33 @@ This dynamic discovery means your AI can adapt to new tasks without manual confi
279273
| `get-key-value-store-record`| storage | | Get the value associated with a specific key in a key-value store |
280274
| `get-dataset-list` | storage | | List all available datasets for the user |
281275
| `get-key-value-store-list`| storage | | List all available key-value stores for the user |
282-
| `add-actor` | experimental | | Add an Actor as a new tool for the user to call |
283-
| `get-actor-output`* | - | Retrieve the output from an Actor call which is not included in the output preview of the Actor tool. ||
276+
| `add-actor`* | experimental || Add an Actor as a new tool for the user to call |
277+
| `get-actor-output`* | - || Retrieve the output from an Actor call which is not included in the output preview of the Actor tool. |
278+
284279

285280
:::note Retrieving full output
286281

287282
The `get-actor-output` tool is automatically included with any Actor-related tool, such as `call-actor`, `add-actor`, or specific Actor tools like `apify-slash-rag-web-browser`. When you call an Actor, you receive an output preview. Depending on the output format and length, the preview may contain the complete output or only a limited version to avoid overwhelming the LLM. To retrieve the full output, use the `get-actor-output` tool with the `datasetId` from the Actor call. This tool supports limit, offset, and field filtering.
288283

289284
:::
290285

286+
#### Dynamic tool discovery
287+
288+
One of the most powerful features is the ability to discover and use new Actors on demand.
289+
It can search Apify Store for relevant Actors using the `search-actors` tool, inspect Actor details to understand required inputs, add the Actor as a new tool, and execute it with appropriate parameters.
290+
291+
This dynamic discovery means your AI can adapt to new tasks without manual configuration.
292+
Each discovered Actor becomes immediately available for future use in the conversation.
293+
294+
295+
:::note Dynamic tool discovery
296+
297+
When you use the `actors` tool category, clients that support dynamic tool discovery (such as Claude.ai web and VS Code) will automatically receive the `add-actor` tool instead of `call-actor` for enhanced Actor discovery capabilities.
298+
For a detailed overview of client support for dynamic discovery, see the [MCP client capabilities package](https://github.com/apify/mcp-client-capabilities).
299+
300+
:::
301+
302+
291303
## Advanced usage
292304

293305
### Production best practices

0 commit comments

Comments
 (0)