Skip to main content
Glama

List companies

list_companies
Read-only

Lista/busca empresas do cadastro (modelo conta, 1 empresa → N contatos). Filtra por texto (nome, CNPJ, cidade, setor) e por status. Retorna nome, CNPJ, cidade/UF, setor, status e quantidade de contatos vinculados.

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
limitNoMáximo de resultados (padrão 20, máx 100)
queryNoTexto a buscar (nome, CNPJ, cidade, setor/CNAE)
statusNoFiltrar por status: lead | prospect | client | inactive

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description goes beyond them by naming the return fields (name, CNPJ, city/UF, sector, status, linked-contact count), which matters because there is no output schema.

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?

Two efficient sentences: the first front-loads what the tool does and its data model, the second covers filtering and return fields. No filler, though the return-field list is slightly dense.

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 read-only list tool with three optional, fully documented parameters and annotations, the description supplies the missing piece – the return shape and the company/contact cardinality. Only minor gaps remain, such as default ordering.

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 description coverage is 100%, so all three parameters are already documented, including the limit default/max and the status values. The description restates the same filter fields without adding format or syntax detail, so 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?

States a specific verb and resource ('Lista/busca empresas do cadastro') and adds the data model (one company → N contacts), which helps an agent understand the entity. It does not explicitly distinguish itself from siblings like get_company or list_contacts, so it stops short of a 5.

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 by explaining that it filters by text and status, but it never says when to choose this over get_company (single record) or list_contacts. There are no exclusions or prerequisite notes.

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