Skip to main content
Glama

Anuário

Get a company

get_company
Read-onlyIdempotent

The record of one Portuguese company by tax number: what it does, the marks it has registered (often its trading name), whether it exists and the evidence for that, seat, contacts, verified website, public contracts, debtor-list status and registry acts by year.

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": {
      "tax_number": "<tax_number>"
    },
    "name": "get_company"
  }
}

Input Schema

NameRequiredDescriptionDefault
tax_numberYes9-digit NIF/NIPC; spaces and a PT prefix are accepted

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already establish readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real value by disclosing the returned content set, including debtor-list status and registry acts by year. It omits auth requirements, response shape/pagination, and what happens when no company matches the tax number.

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 scoping clause ('one Portuguese company by tax number') is front-loaded before the long payload list. It is a single dense sentence with little waste, though the enumerated feature list is heavy enough to be slightly harder to scan than a split structure would be.

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 read tool with no output schema, the description carries the return-value burden well by naming the data categories the agent will receive. The existence-check framing usefully implies non-error behavior for missing companies. Minor gaps remain around auth and result size.

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% and the single tax_number parameter is fully documented in the schema, including the accepted PT prefix and spacing. The description only restates 'by tax number' without adding format or validation detail, so the baseline 3 applies.

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 gives a specific verb and resource — retrieving the record of one Portuguese company by tax number — and enumerates the payload (marks, seat, contacts, website, contracts, registry acts). It does not explicitly distinguish this from lookalike siblings such as identify_company or validate_tax_number, so the boundary must be inferred from the parameter.

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

Usage Guidelines2/5

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

Usage is only implied by the phrase 'by tax number' and the mention of 'whether it exists and the evidence for that'. There is no explicit when-to-use, when-not-to-use, or named alternative, even though validate_tax_number and identify_company plausibly overlap on the existence-check angle.

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