Skip to main content
Glama

Lookup

lookup
Read-onlyIdempotent

All edges touching a term in a language.

Input Schema

NameRequiredDescriptionDefault
langNoISO-639-1 code (default en)
termYesWord or phrase
limitNo1-1000 (default 50)
offsetNo0-based offset
only_relNoRestrict to one relation (e.g. "IsA", "UsedFor")
end_node_langNoRestrict end-node language

Output Schema

NameRequiredDescriptionDefault
@idNoNode URI
viewNoAPI view name
edgesNoList of edges involving this node
@contextNoJSON-LD context

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior3/5

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

Annotations clearly indicate the tool is read-only, idempotent, and non-destructive. The description adds minimal behavioral context (e.g., 'edges'), but nothing contradictory.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely short (one phrase), which is concise but lacks structure and clarity. It could benefit from a clearer sentence without being overly verbose.

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

Completeness2/5

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

Given the six parameters and the knowledge-graph domain, the description is too sparse. It doesn't explain offset/limit pagination, relation types, or the return format, even though an output schema exists.

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 each parameter is documented. The description adds no additional semantic value beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states 'All edges touching a term in a language', which gives a general idea of retrieving relationships but is vague about what 'edges' are and doesn't differentiate from similar sibling tools like 'polymarket_edges'.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives. No context for usage or exclusions are provided.

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.