Skip to main content
Glama
Auto Ontology MCP

Auto Ontology MCP

Get full details of one Term

get_term
Read-onlyIdempotent

Retrieve full business and schema details for a known Term—definition, synonyms, columns, SQL attributes, joins, relations, and sources—to explain 'what is X' or inspect it.

Instructions

Retrieve complete business and schema details for one Term: definition, status, synonyms, markdown body, mapped columns with sample values/formats, SQL attributes, join conditions, typed relations, sources, and knowledge record counts. Use to explain 'what is X' or inspect one known Term; use search_ontology when the Term name is unknown, list_terms to browse all Terms, describe_table for raw physical columns, and get_query_context when gathering multi-Term SQL context. Fails with closest Term suggestions if unmatched.

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": {
      "term": "<term>"
    },
    "name": "get_term"
  }
}

Input Schema

NameRequiredDescriptionDefault
termYesExact Term name, synonym, or id.
datasourceNoDatasource name. Optional when only one datasource is registered.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.6.2
    • changedInput schema / properties / term / description
      Previous value: -"Term name, synonym or id."New value: +"Exact Term name, synonym, or id."
  2. First observedv0.3.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds genuinely new behavioral context: the lookup tolerates synonyms and ids, and on failure it returns closest-Term suggestions rather than a bare error — important for recovery. It does not mention pagination or payload size, which is a minor gap given the size of the enumerated response.

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-loaded with the verb and resource, then routing guidance, then failure behavior — a sensible order with no filler sentences. The long enumeration of returned fields is informative but partially redundant with the output schema, which keeps this from a 5.

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?

For a two-parameter read tool with full schema coverage, an output schema, and rich annotations, the description covers selection, alternatives, matching tolerance, and error recovery. Nothing needed 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 description coverage is 100%, so both `term` (exact name, synonym, or id) and optional `datasource` are already documented. The description's 'one known Term' and 'unmatched' hint reinforce the matching semantics of `term` but add nothing about the datasource parameter. Baseline 3 applies since the schema carries the parameter burden.

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 ('Retrieve') and resource ('one Term') and enumerates the payload sections (definition, status, synonyms, markdown body, mapped columns, SQL attributes, join conditions, relations, sources, record counts). This is clearly distinguishable from list_terms, search_ontology, and describe_table, which are named in the same breath.

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 an explicit positive trigger ('what is X' or inspecting one known Term) and four named alternatives each with the condition that selects them: search_ontology for unknown names, list_terms for browsing, describe_table for raw physical columns, get_query_context for multi-Term SQL context. Exclusions are as clear as the inclusions.

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