Skip to main content
Glama

inspect_tool

Read-only

Fetch the exact JSON parameter schema for a folded tool before calling it. Use it to confirm required arguments and prevent invalid calls.

Instructions

Get the exact JSON parameter schema for a folded tool before calling it.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tool": "<tool>"
    },
    "name": "inspect_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
toolYesTool name or server.tool ID from search_tools
serverNoOptional server name if tool name is ambiguous

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

readOnlyHint=true already establishes this is a safe read, and the description is consistent with that ('Get'). It adds a small amount of context by saying the return is an exact JSON parameter schema, but says nothing about failure behavior for unknown or ambiguous tool names beyond what the 'server' parameter hints at.

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?

A single front-loaded sentence with the action and the timing constraint in the right order; nothing is wasted.

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 simple two-parameter read tool with no output schema, the description covers what the tool returns (the exact JSON parameter schema) and when to use it. A brief note on what happens for unknown tool names would close the remaining gap.

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%, so both parameters are already documented, including the format of the 'tool' argument ('Tool name or server.tool ID from search_tools'). The description adds no semantics beyond the schema, so the baseline 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?

States a specific verb and resource: fetch the exact JSON parameter schema for a tool. The phrase 'for a folded tool' and 'before calling it' implicitly separates it from call_tool, but no sibling is named, so differentiation relies on inference from the description's framing.

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?

'before calling it' gives a clear workflow trigger — inspect prior to invocation — but the description never states when this is unnecessary (e.g. when the schema is already known) nor names call_tool or search_tools as the alternative paths.

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

Deploy Server

Other Tools