Skip to main content
Glama

getMcpDocs

getMcpDocs
Read-only

[ExoBench server version: 1.4.29]

Get additional documentation for a single MCP tool or guide. Throughout the body of the ExoBench tool descriptions and documentation there are references to additional relevant documentation in the form of getMcpDocs('docs-section'). Use this tool to look them up.

Returns composed documentation that includes:

  1. For tool docs: Full description and all parameter documentation from the tool definition

  2. Supplementary content: Examples, guides, common pitfalls (if available)

Use listMcpDocs() to see all available documentation paths.

Example paths:

  • "benchmark-sql" - Postgres benchmarking tool docs

  • "benchmark-sql-generic" - SQLite benchmarking tool docs

  • "run-sql" - Raw SQL execution tool docs

  • "validate-and-run-exoquery" - ExoQuery validation and execution docs

  • "overview" - Getting started guide (if available)

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": {
      "docPath": "<docPath>"
    },
    "name": "getMcpDocs"
  }
}

Input Schema

NameRequiredDescriptionDefault
docPathYesDocumentation path (e.g., 'benchmark-sql', 'run-sql', 'benchmark-sql#limits'). Use listMcpDocs() to see available paths.
correlationIdNo [TRACKING ONLY — does NOT preserve DB state, schema, or settings between calls.] Echo the correlationId from the previous ExoBench response so the ExoBench team can correlate your workflow for analytics. Omitted = a new one is created. Each tool call still provisions a fresh ephemeral DB from its own schema parameter.
exobenchServerVersionNoExoBench server version — copy the X.X.X from the [ExoBench server version: X.X.X] tag at the top of this tool's description.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / docPath / description
      Previous value: -"Documentation path (e.g., 'benchmark-sql', 'run-sql'). Use listMcpDocs() to see available paths."New value: +"Documentation path (e.g., 'benchmark-sql', 'run-sql', 'benchmark-sql#limits'). Use listMcpDocs() to see available paths."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered; the description adds real value by spelling out the return composition (full tool description plus parameter docs, plus examples/pitfalls when available). It says nothing about behavior for an invalid path or whether lookups are cached, which is a minor gap.

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?

Front-loads the purpose, then uses a short numbered block and a path list that are easy to scan. The server-version banner at the top is boilerplate, and the listMcpDocs() pointer is duplicated in both description and schema, costing a little redundancy.

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 read-only lookup tool with no output schema, the description explains what comes back (tool docs plus supplementary examples and pitfalls) and how to enumerate valid paths, which is enough to invoke it confidently. Edge-case behavior such as an unknown path is left unspecified.

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% and the docPath, correlationId, and version parameters are already fully documented in the schema. The description's list of concrete example paths (e.g. 'validate-and-run-exoquery', 'overview') adds some flavor about what path values look like, but largely echoes the schema's own examples, so it sits at the baseline for a well-documented schema.

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 ('Get additional documentation for a single MCP tool or guide') and scopes it to one path, which distinguishes it from the sibling getMcpDocsMulti without needing to inspect either 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?

Explains exactly when to reach for it: whenever a tool description contains a getMcpDocs('docs-section') reference. It also routes the agent to listMcpDocs() for discovery, though it never explicitly contrasts 'single' vs. the multi variant beyond the word 'single'.

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