Skip to main content
Glama

analyze_market

Read-onlyIdempotent

Generate a market-intelligence snapshot for any NAICS code, including federal spending trends, top contractors, market concentration, set-aside distribution, and geographic analysis, using public USAspending and Census data.

Instructions

Full market-intelligence snapshot for a NAICS: 5-year federal spending trend, industry size (Census), top contractors with market share + HHI concentration, set-aside distribution, geographic distribution, and contract-vehicle usage. From public USAspending + Census data. Costs 5 credits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
naicsCodeYesNAICS code (required).
pscCodeNoOptional PSC code for sharper competitor filtering.
setAsideNoOptional set-aside context.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
spendingTrendNo
industryContextNo
federalSharePctNo
topContractorsNo
concentrationNo
setAsideDistributionNo
geographicDistributionNo
contractVehiclesNo
recentLargeAwardsNo
Behavior4/5

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

Annotations already indicate read-only, non-destructive, idempotent, and open-world behavior. The description adds value by disclosing the data sources (USAspending + Census) and the credit cost (5 credits). No contradictions with annotations.

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 three sentences, front-loaded with key content. Every sentence earns its place, providing a clear overview without unnecessary verbosity.

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 complexity and the presence of an output schema, the description sufficiently covers the tool's scope. It lists major output categories and capabilities, making it complete for agent decision-making.

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 coverage is 100%, so baseline is 3. The description does not add further meaning to the parameters beyond what the schema provides; it lists output components but does not clarify input semantics like NAICS format or PSC usage.

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 clearly states the tool's purpose: providing a full market-intelligence snapshot for a NAICS code. It lists specific components (federal spending trend, industry size, top contractors, etc.) and distinguishes from siblings like analyze_award_patterns, which focuses on awards.

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

Usage Guidelines3/5

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

The description implies usage context through its output scope (market snapshot, not awards), but it does not explicitly state when to use this tool vs alternatives like analyze_award_patterns or find_incumbents. No when-not-to-use guidance is provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/smythmyke/govtoolspro-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server