Skip to main content
Glama
Auto Ontology MCP

Auto Ontology MCP

Fetch one ontology document by connector ID

fetch
Read-onlyIdempotent

Retrieves full text and metadata for one ontology document using the opaque ID returned by search, so connector and deep-research clients can open a specific result.

Instructions

Retrieve the full text and metadata of one ontology document (a Term, physical table, or knowledge source) using an opaque id returned by search. Intended exclusively as the second step for ChatGPT connectors and deep-research clients; all other MCP clients should call get_term, describe_table, or get_source directly for structured JSON. Fails if the id is unknown or malformed.

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": {
      "id": "<id>"
    },
    "name": "fetch"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesOpaque document id returned by search, e.g. 'term:term_ab12', 'table:tbl_1', or 'source:3'.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.6.2
    • changedInput schema / properties / id / description
      Previous value: -"Document id returned by search, e.g. 'term:term_ab12'."New value: +"Opaque document id returned by search, e.g. 'term:term_ab12', 'table:tbl_1', or 'source:3'."
  2. First observedv0.3.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world, non-destructive, so the safety profile is covered. The description still adds real value beyond them: the return payload ('full text and metadata'), the client-type restriction, and the failure mode for unknown or malformed ids. It stops short of noting size limits or truncation for large documents, which keeps it from a 5.

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 sentences, each doing distinct work: what it returns, who should call it versus the alternative, and the failure condition. The primary usage constraint is front-loaded immediately after the purpose.

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

Completeness5/5

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

An output schema exists, so return values need not be detailed, and the description still characterizes the payload as full text plus metadata. For a single-parameter read tool with complete annotations, nothing an agent needs in order to call it correctly is missing.

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 coverage is 100% and the schema property description already explains the opaque id with example formats ('term:term_ab12', 'table:tbl_1', 'source:3'). The description only restates that the id comes from search, adding essentially nothing beyond the structured field, so the baseline 3 applies.

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 ('Retrieve the full text and metadata of one ontology document') plus the document types covered (Term, physical table, knowledge source) and the key selector (opaque id from search). It also explicitly distinguishes itself from siblings get_term, describe_table, and get_source, so an agent can choose without opening other schemas.

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

Usage Guidelines5/5

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

Gives explicit when-to-use (second step for ChatGPT connectors and deep-research clients) and when-not-to-use with named alternatives for all other MCP clients. The routing condition is stated rather than inferred.

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