Skip to main content
Glama

resolve_entity

Read-onlyIdempotent

Resolve free text to a canonical market or macro entity.

Turns a ticker, company name, macro indicator, coin, or currency pair into the agent plane's {namespace, ids} entity for use with get_snapshot and get_timeseries. A cross-namespace collision (e.g. a ticker that is both an equity and a coin) returns status "ambiguous" with ranked candidates and NEVER silently picks one; pass type_hint (e.g. "equity", "etf", "coin") to narrow the universe. Crypto aliases resolve too (e.g. "bitcoin" -> the BTC coin entity). Status "low_confidence" means the best match cleared resolution but scored weakly - verify the returned entity before building on it, or re-query with a more specific name or type_hint. For compliance KYB lookups by LEI/VAT or sanctions screening use sugra_entity_lookup / sugra_entity_screen instead - this tool is for market-data entities.

Args: query: Free-form text - ticker, company, indicator, coin, or pair. type_hint: Optional namespace hint narrowing resolution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
type_hintNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations (readOnly, openWorld, idempotent, non-destructive), the description reveals important behavior: collision returns 'ambiguous' with ranked candidates and never silently picks, type_hint narrows the universe, crypto aliases resolve, and low_confidence is a weak-match signal with explicit advice to verify. This enriches the agent's understanding of runtime responses significantly.

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?

The description is informative yet structured: it leads with a clean one-sentence purpose, gives necessary behavioral nuances, then an Args list. Each sentence adds meaningful guidance—no filler. The explicit alternative pointer and the low_confidence example are useful and not redundant.

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 the tool's disambiguation behavior, the description adequately covers its main use case, edge cases (collisions, low confidence), and relationships to companion tools. The output schema exists, so the description need not enumerate return details, but it explains the semantic value that the agent needs for correct invocation and post-result verification.

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 description coverage is 0%, so the description must carry the parameter semantics. The Args section explains query as free-form text and type_hint as an optional namespace narrowing hint, with concrete examples ('equity', 'etf', 'coin'). While the type_hint examples are helpful, the description could be slightly more precise about accepted type_hint values beyond those examples, but it is still well above a baseline because the description compensates for the missing schema descriptions.

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+resource pair: 'Resolve free text to a canonical market or macro entity.' It clearly explains the tool's output (namespace/ids entity) and its use for get_snapshot/get_timeseries, setting it apart from sibling tools including the compliance-oriented sugra_entity_lookup/screen.

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?

The description gives explicit alternatives: for compliance KYB lookups use sugra_entity_lookup / sugra_entity_screen instead. It also explains when to use type_hint to narrow an ambiguous resolution and advises verifying low_confidence results. This covers when and when not to use the tool.

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.

TDQS

A3.7/5.0
Disambiguation3/5

Several tools overlap in purpose: call_endpoint, fetch_data, and search_endpoints all relate to invoking endpoints, with fetch_data bundling search and call. resolve_entity and sugra_entity_lookup both resolve entities but target different domains (market vs. compliance), which could confuse agents.

Naming Consistency2/5

Naming patterns are inconsistent: 'endpoint' appears as both singular and plural (call_endpoint vs. search_endpoints), verbs vary (fetch_data vs. get_snapshot), and the 'sugra_' prefix is only applied to two of the entity-related tools, leaving resolve_entity without a clear thematic connection.

Tool Count4/5

With 11 tools, the count is within the typical range for a comprehensive financial API wrapper and does not feel bloated or sparse. Each tool serves a distinct functional area, so the number is appropriate.

Completeness4/5

The tool set covers endpoint discovery, data retrieval (snapshots, timeseries), entity resolution, and compliance screening, which are the core capabilities expected of such an API. Minor gaps like batch operations or authentication handling are not critical for the intended use case.