Skip to main content
Glama

Resolve Entity

resolve_entity
Read-onlyIdempotent

"What's the ticker for…" / "find the CIK for…" / "what's the LEI for…" / "what's the RxCUI for…" / "look up the ID for…" / "what is X's official identifier" / "who owns X" / "is X a subsidiary of Y" — resolve a user-spoken NAME to the canonical/official identifiers other tools require as input. Use FIRST whenever you have a name but need an ID. SUPPORTED TYPES: "company" (cross-source identity spine: 10-digit CIK + ticker + company_name from SEC EDGAR, legal-entity LEI from GLEIF with parent/ultimate-parent/children ownership when the LEI resolves, and security FIGI from OpenFIGI — by exact ticker map when a ticker is implied, and otherwise by name search, so NON-EQUITY instruments that never have a ticker (municipal and corporate bonds, notes, authority debt) DO resolve here; when a name matches more than one instrument it asserts nothing and returns figi_candidates to pick from, which is the correct answer to an issuer name that does not identify a single bond; every identifier is labelled with the source that established it, and an identifier that could NOT be resolved is stated explicitly under unresolved rather than omitted — accepts ticker, CIK, ISIN, or company name as input; an ISIN like "CH0038863350" resolves to the LEGAL ENTITY that issued the security via the GLEIF ISIN-to-LEI mapping, covering non-US issuers EDGAR cannot reach), "drug" (returns RxCUI + ingredient + brand from RxNorm + pipeworx://rxnorm/concept/{rxcui} citation; accepts brand or generic name). LEI/FIGI enrichment degrades gracefully — if GLEIF or OpenFIGI is unavailable, the EDGAR identifiers still return. Each call cascades through several lookup endpoints internally — using resolve_entity replaces 2-3 manual lookups.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYesEntity type: "company" or "drug".
valueYesFor company: ticker (AAPL), CIK (0000320193), or name. For drug: brand or generic name (e.g., "ozempic", "metformin"). Pass the ENTITY NAME ONLY — for a bond that is the ISSUER exactly as printed ("NEW YORK ST DORM AUTH"), never the question's full noun phrase ("NEW YORK ST DORM AUTH revenue bonds"): the FIGI lookup matches instrument names, so trailing security-class words match nothing.

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds significant behavioral context beyond that: it cascades through multiple lookup endpoints, enriches from GLEIF/OpenFIGI with graceful degradation when those sources are unavailable, returns ownership info, and explicitly reports unresolved identifiers under an 'unresolved' field rather than omitting them. This gives the agent accurate expectations for edge cases and failure modes.

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?

The description is long but densely packed with necessary detail; almost every sentence adds operational knowledge (supported types, source identifiers, degradation behavior, input caveats, internal cascade). It is front-loaded with the core purpose and common query examples. Some redundancy exists around the 'FIRST' usage hint and the enumeration of identifiers, but for a tool with this much domain complexity the length is justified.

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?

There is no output schema, so the description must explain return values, and it does: it names the identifier fields per type, mentions the RxNorm citation, and explains how unresolved identifiers are surfaced. It also covers input edge cases (non-equity instruments, ISIN-to-LEI for non-US issuers) and degradation behavior. An agent has everything needed to call the tool correctly and interpret the result.

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

Parameters5/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 substantially enriches both parameters. For 'type' it explains how company vs drug changes the lookup and return set. For 'value' it provides real examples (AAPL, CIK, ozempic), clarifies that bonds need the issuer name exactly as printed, and warns against including trailing security-class words. This goes well beyond the schema descriptions and materially improves correct parameter construction.

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 concrete query examples and states plainly: 'resolve a user-spoken NAME to the canonical/official identifiers other tools require as input.' It specifies two supported types (company, drug), lists the exact identifiers returned (CIK, ticker, LEI, FIGI, RxCUI), and clearly distinguishes itself as the name-to-ID resolver, which no sibling tool claims. This is a specific verb+resource definition that an agent can act on immediately.

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 description gives explicit guidance: 'Use FIRST whenever you have a name but need an ID.' It further clarifies accepted input forms for both types and warns against passing full noun phrases. It does not name sibling alternatives or state when not to use it, but the 'always first' instruction plus the input constraints provide solid pragmatic direction.

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

A4.1/5.0
Disambiguation3/5

Several tools have similar purposes, such as the four ask_pipeworx variants and multiple prediction market analysis tools (bet_research, polymarket_edges, polymarket_arbitrage, etc.). While descriptions clarify differences, the overlap could cause misselection by an agent, especially with the high number of specialized market tools.

Naming Consistency4/5

All tool names use snake_case, but the pattern is not fully consistent: some start with verbs (ask_pipeworx, bet_research, compare_entities) while others are noun phrases (entity_profile, recent_alerts, osha_search). This minor inconsistency does not severely hinder readability.

Tool Count3/5

33 tools is on the high side, but the server acts as a comprehensive data gateway covering multiple domains (financials, prediction markets, OSHA, etc.) and includes meta-tools (memory, subscriptions, feedback). The count is justified by the breadth, though it borders on being overwhelming.

Completeness4/5

The tool set covers core workflows: data lookup (ask_pipeworx), entity profiles, comparisons, prediction market analysis, and memory management. There are minor gaps, such as no direct SEC filing retrieval tool (handled via ask_pipeworx), but the overall surface is comprehensive for the server's stated purpose.