Skip to main content
Glama
govconapi

GovCon API MCP

Official

Resolve names to IDs

resolve
Read-onlyIdempotent

Converts user-provided agency names, NAICS terms, company names, DUNS numbers, or organization names into exact IDs and codes needed by GovCon API search and lookup tools.

Instructions

Turn what the user said into the IDs and codes the other tools take. Start here when the user names an agency, describes their work, or names a company.

  • agency: an agency name or acronym ("Navy", "FEMA") -> the exact agency value search filters expect

  • naics: words from NAICS titles ("computer", "engineering", "construction") -> matching codes with market size. It matches titles, not topics: for "cybersecurity" try "computer"

  • company: a company name -> SAM registrations with their UEI (a large firm has several; pick by name and location, or use search(companies), Pro, which ranks by award history)

  • identifier: a legacy 9-digit DUNS number -> the matching UEI and company (a CAGE code goes to get(entity))

  • organization: an agency or sub-agency name -> its organization_id in the federal hierarchy

Input Schema

NameRequiredDescriptionDefault
kindYes
queryYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.4

TDQS

A4.8/5.0
Behavior4/5

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

Annotations already declare this tool as read-only, idempotent, open-world, and non-destructive. The description adds valuable behavioral context beyond those annotations, including that NAICS matching works on titles rather than topics and that large companies may have multiple registrations requiring name/location disambiguation. It does not cover no-match or error behavior, so it falls just short of the highest score.

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 front-loaded with the core purpose and then uses concise bullets for each resolution mode. Despite its length, every bullet explains a distinct enum mode and earns its place.

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 two required parameters, the enum, the presence of an output schema, and rich annotations, the description supplies everything an agent needs to select the correct mode and interpret the query. It also covers ambiguous company matches and routes unsupported identifiers to the correct sibling tool.

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 description coverage is 0%, so the description carries the full burden of explaining the parameters. It does this thoroughly by explaining what each enum value of `kind` means, how `query` should be interpreted for each kind, and what each mode returns.

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 states a specific action and scope: it turns user-mentioned names into the IDs and codes that other tools accept. It also distinguishes itself from siblings by positioning itself as the starting point before using search, get, or other tools, and it names alternatives for specific cases.

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 explicitly says when to start here: when the user names an agency, describes their work, or names a company. It also gives alternatives and exceptions, such as using search(companies) for ranking by award history and get(entity) for CAGE codes.

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

Deploy Server

Other Tools