Skip to main content
Glama

Read a supplier's procurement totals

get_company_procurement_performance
Read-onlyIdempotent

Read one company CNPJ's recorded PNCP wins, awarded values and totals by period. lowData flags limited evidence. This is a summary of PNCP records, not a complete record of all government sales.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "cnpj": "<cnpj>"
    },
    "name": "get_company_procurement_performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
cnpjYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description rightly focuses elsewhere. It adds genuine value by explaining that lowData flags limited evidence and that results are a summary rather than a complete record of all government sales, which directly affects how an agent should present the output.

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?

Two sentences with zero filler; the core capability is stated first and the interpretive caveat follows. Every sentence contributes distinct information.

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

Completeness4/5

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

For a one-parameter, non-destructive read with no output schema, the definition covers what is returned (wins, awarded values, totals by period), the lowData signal, and the coverage limitation. Only the CNPJ input format and the handling of the 'by period' dimension remain unaddressed.

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 0% for the single cnpj parameter, so the description carries the burden. It clarifies that the input is one company CNPJ (entity type and cardinality), which is meaningful, but gives no format guidance (digits-only vs. punctuated) and does not describe how periods for the aggregation are specified.

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

Purpose4/5

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

The description states a specific verb and resource: reading a company CNPJ's PNCP wins, awarded values, and totals by period. That is clearly distinct from sibling resources such as get_company_sanctions or search_procurements, though no sibling is named explicitly.

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?

Usage context is implied by the scope statement (one company, aggregated PNCP data), and the closing caveat warns the agent not to treat results as a full sales history. However, there is no explicit when-to-use guidance or routing to alternatives such as search_procurements for raw contract records.

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.

Resources