Skip to main content
Glama

Anuário

List companies

list_companies
Read-onlyIdempotent

Active companies filtered by founding month (YYYY-MM), main activity code (5-digit CAE) and/or concelho, newest first. At least one filter is required; at most 50 results.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_companies"
  }
}

Input Schema

NameRequiredDescriptionDefault
caeNo5-digit CAE Rev.4 code of the main activity
limitNo
founded_inNoFounding month, YYYY-MM
municipalityNoConcelho name, e.g. "Braga"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, closed-world, and non-destructive, so the safety profile is covered. The description adds genuinely useful behavior beyond that: results are restricted to active companies, ordering is newest first, and at most 50 rows are returned. It says nothing about pagination or how to retrieve records beyond the 50-row cap, which is the main behavioral gap.

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 no filler: the first front-loads what is returned, in what order, and by which filters; the second front-loads the hard constraints (minimum one filter, maximum 50 results). Every clause earns its place.

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 four-parameter, read-only list tool with no output schema, the description covers scope, filtering, ordering, and result ceiling adequately. The one meaningful omission is what happens when more than 50 companies match — no cursor, offset, or narrowing advice is offered.

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

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already documents cae, founded_in, and municipality (75% coverage); the description adds filter-combination semantics ("and/or" across the three filters) and reinforces the 50-result ceiling for the otherwise undocumented limit parameter. It does not explain what happens when limit is omitted or how the 50-cap interacts with paging, leaving some meaning uncovered.

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 (list companies) with scope qualifiers: only active companies, filtered by founding month, CAE code, and/or concelho, returned newest first. That is far more concrete than the title alone. It stops short of differentiating itself from the sibling search_companies, so an agent must infer which is the broad search and which is the filtered list.

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?

"At least one filter is required" is an explicit precondition that tells the agent not to call with an empty body, which is real usage guidance. What is missing is any statement of when to prefer this over search_companies or count_companies, so the routing decision among siblings is left to inference.

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