Skip to main content
Glama
Auto Ontology MCP

Auto Ontology MCP

List Terms in a datasource

list_terms
Read-onlyIdempotent

Browse a paginated index of datasource terms with definitions, status, synonyms, and counts; check existing entities or concepts before creating new ones or review the catalog.

Instructions

List a paginated index of every Term (entities and concepts) in one datasource with one-line definitions, status, synonyms, record/relation counts, and empty-stub flags. Use to browse the catalog or check existing Terms before creating new ones; use search_ontology for keyword search and get_term for one Term's complete details. Returns total count, offset, and paged term summaries.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_terms"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoFilter Terms by kind: 'all', 'entity' (table-backed records), or 'concept' (markdown definitions).all
limitNoMaximum Terms per page (1-500).
offsetNoZero-based pagination offset (>= 0).
statusNoFilter to Terms with this approval status.
datasourceNoDatasource name. Optional when only one datasource is registered.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv0.6.2
    • changedInput schema / properties / kind / description
      Previous value: -"Which Terms to list."New value: +"Filter Terms by kind: 'all', 'entity' (table-backed records), or 'concept' (markdown definitions)."
    • changedInput schema / properties / limit / description
      Previous value: -"Page size (max 500)."New value: +"Maximum Terms per page (1-500)."
    • addedInput schema / properties / limit / maximum
      Added value: +500
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / offset / description
      Previous value: -"Page offset."New value: +"Zero-based pagination offset (>= 0)."
    • addedInput schema / properties / offset / minimum
      Added value: +0
    • changedInput schema / properties / status / description
      Previous value: -"Only Terms with this status."New value: +"Filter to Terms with this approval status."
  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, and closed-world, so the safety profile is covered. The description adds value beyond that by disclosing pagination behavior, the returned envelope (total count, offset, paged summaries), and the existence of 'empty-stub' terms plus the fact that definitions here are one-line rather than full. It does not mention rate limits or default page size, which keeps it short of 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?

Two sentences, tightly packed with no filler: capability and payload first, then routing guidance, then return shape. Every clause carries information an agent can act on.

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?

With an output schema present and three of five parameters fully annotated, the description need not explain return values in depth, and it still summarizes them. The one gap is that the optional kind and status filters are never mentioned, so an agent skimming the description might not realize it can narrow the listing rather than paging the whole catalog.

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%, including enum semantics for kind and status, so the baseline is 3. The description only implies the datasource scoping ('in one datasource') and pagination ('paginated') and does not clarify that kind/status are optional filters, so it adds little beyond the 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?

The description opens with a specific verb and resource: 'List a paginated index of every Term (entities and concepts) in one datasource', then enumerates the payload fields (one-line definitions, status, synonyms, record/relation counts, empty-stub flags). It also defines 'Term' inline, so an agent can distinguish this catalog-listing tool from a term-detail tool without opening a schema.

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?

It states positive usage ('browse the catalog or check existing Terms before creating new ones') and names two explicit alternatives with the conditions that select them: search_ontology for keyword search, get_term for one Term's complete details. The routing decision is unambiguous.

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