Skip to main content
Glama
Anka Ontologia de Mercado

Anka Ontologia de Mercado

Official
by Anka-Tech

Get a concept

get_concept
Read-only

Retrieves a concept’s full ontology record by ID, exact label, or synonym, including definitions, sources, mappings, and relations. Returns candidates for ambiguous labels and status details for unknown terms.

Instructions

Full record of one concept, looked up by id or by exact label or synonym: definition, sources, mappings to other vocabularies, every outgoing relation, up to 20 incoming relations with their total, relations inherited from parent concepts, and how many non-current items were left out. A label shared by several concepts returns an ambiguous status with the candidates; an unknown term returns a not_found status with what the base covers.

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": {
      "concept": "<concept>"
    },
    "name": "get_concept"
  }
}

Input Schema

NameRequiredDescriptionDefault
conceptYesConcept id, or its exact preferred label or synonym.
include_historyNoWhether retired concepts, revoked norms and historical relations are included.

Output Schema

NameRequiredDescriptionDefault
queryNo
statusYes
conceptNo
coverageNo
inheritedNo
candidatesNo
relations_inNo
relations_outNo
omitted_non_currentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, the description discloses substantive behavior: the 20-incoming-relation cap with its total, inherited relations from parent concepts, a count of omitted non-current items, and the two distinct non-success statuses (ambiguous with candidates, not_found). This is exactly the context an agent needs to interpret results without surprises.

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 tight sentences, front-loaded with the resource and lookup modes, then the return payload and edge-case statuses. No filler, and every clause carries a distinct piece of information.

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?

Given an output schema exists, the description needn't enumerate return values, yet it usefully flags the caps and status branches that shape interpretation. Combined with the annotation safety profile and full schema coverage, nothing material is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description earns a bump: it clarifies that `concept` accepts only exact labels or synonyms, and that `include_history` affects the reported count of left-out retired/revoked items, linking the flag to observable output behavior.

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?

"Full record of one concept, looked up by id or by exact label or synonym" states a specific verb+resource and immediately scopes the lookup mode. The enumeration of returned fields (definition, sources, mappings, relations) makes it clearly distinct from a search tool like search_concepts.

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?

The word "exact" plus the note that a shared label returns an `ambiguous` status strongly cues when this tool applies versus a broader search, and the ambiguous/not_found branches tell the agent what to expect on failure. It stops short of naming search_concepts explicitly as the alternative for partial or fuzzy matches.

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