Skip to main content
Glama

get_dynamic_tool_schema

Return a dynamic tool's description and paramsSchema (JSON Schema of run_dynamic_tool params; fields differ per tool). toolId: from get_dynamic_tools. Call it before run_dynamic_tool.

Input Schema

NameRequiredDescriptionDefault
toolIdYes
workspaceIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose that the return is a description plus a per-tool JSON Schema and that fields differ per tool. It does not mention error behavior for invalid toolIds, workspace scoping, or permissions, leaving notable behavioral gaps for a lookup tool.

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

Conciseness5/5

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

Three compact clauses, front-loaded with the purpose, then parameter provenance, then the sequencing instruction. Every sentence earns its place.

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 two-parameter schema-lookup tool with no output schema, the description conveys what comes back and that it varies per tool, which is the critical information. Missing workspaceId meaning and error handling keeps it short of complete.

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 0%, so the description must compensate. It usefully explains where toolId comes from, but the required workspaceId is never explained, leaving half the parameters undocumented.

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

Purpose5/5

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

States a specific verb and resource ('Return a dynamic tool's description and paramsSchema') and immediately differentiates it from siblings by naming get_dynamic_tools as the source of toolId and run_dynamic_tool as the consumer. An agent can route it without opening any schema.

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

Usage Guidelines4/5

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

Explicitly says to call it before run_dynamic_tool and where to get toolId, which gives a clear workflow context. It stops short of stating exclusions or what to do if the tool is unknown, so it is strong but not fully exhaustive.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources