Skip to main content
Glama
n8n MCP Server

n8n MCP Server

by fedealvarez

discover

List available API capabilities scoped to the current API key, returning accessible resources, endpoints, and operations with optional resource, operation, and schema filters.

Instructions

Discover available API capabilities based on the current API key's scopes. Returns resources, endpoints, and operations accessible to this key.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "discover"
  }
}

Input Schema

NameRequiredDescriptionDefault
includeNoInclude additional data. Use 'schemas' to inline request body schemas
resourceNoFilter to a specific resource (e.g. 'workflow', 'tags', 'credential')
operationNoFilter to a specific operation (e.g. 'read', 'create', 'list')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description carries the full disclosure burden. It usefully states that results are filtered by the API key's scopes, but says nothing about whether the call is read-only, whether it is rate-limited, how large the response may be, or how results are structured/ordered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the scope constraint, with no filler. The second sentence partially restates the first but does add the concrete return contents, so it earns most of its space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-required-parameter discovery tool with no output schema, the definition covers what the tool does, how results are scoped, and roughly what comes back. Only minor gaps remain, such as response shape and any guidance on using the returned capability list.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with all three optional filters (include, resource, operation) already documented with examples in the schema. The description adds no filtering or combination semantics beyond that, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (Discover) and resource (available API capabilities), and states the scoping mechanism (the current API key's scopes) plus what is returned (resources, endpoints, operations). This clearly separates it from the CRUD siblings like list_workflows or get_project, though it doesn't explicitly name them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: an agent can infer this is the tool to call to learn what else it can do with its key. There is no explicit when-to-use/when-not guidance, no mention of calling it before other operations, and no reference to alternatives or prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.