Skip to main content
Glama

Search Companies Tool

search_companies

Recherche des entreprises françaises par nom, SIREN, SIRET ou critères (secteur, département, état). Renvoie une page de résultats avec les identifiants légaux et l'adresse.

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": {
      "query": "<query>"
    },
    "name": "search_companies"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage demandée, à partir de 1.
queryYesTermes recherchés : raison sociale, SIREN ou SIRET.
stateNoÉtat administratif : `radiee` pour les entreprises cessées ; toute autre valeur renvoie les entreprises actives.
categoryNoCatégorie d'entreprise : PME, ETI ou GE.
per_pageNoRésultats par page, de 1 à 100.
departmentNoDépartement sur 2 ou 3 caractères (2A et 2B pour la Corse).
activity_codeNoCode NAF/APE, par exemple 1071C.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations are empty, so the description carries the full burden. It does disclose that results are paginated ('une page de résultats') and what a result contains (identifiants légaux, adresse), which is useful since no output schema exists. It says nothing about matching behavior (exact vs fuzzy), result ordering, whether a 'radiee' state needs opt-in, or any auth/rate-limit constraints.

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 sentences, zero filler, with what-can-be-searched front-loaded and what-is-returned second. Appropriately sized for a simple search tool.

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

Completeness3/5

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

With 7 parameters, one required, full schema coverage and no annotations or output schema, the minimal contract is covered: what to search and what comes back. It falls short on distinguishing this from sibling tools and on behavioral details such as result ordering or match semantics, which matter for a search endpoint.

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 the schema already explains every parameter including the state and department nuances. The description's contribution is a loose mapping of 'secteur, département, état' to the criteria filters, which adds only marginal meaning over the structured fields; 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 ('Recherche') and resource ('entreprises françaises') and enumerates the searchable keys (nom, SIREN, SIRET, critères). An agent can tell this is a lookup/list tool rather than a detail tool, though the siblings follow_company and get_company_financials are never named.

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 is implied by the enumeration of search keys and the 'renvoie une page de résultats' framing, so an agent knows this is the entry point for discovering companies. However, there is no explicit when-to-use vs when-not guidance and no routing to follow_company or get_company_financials once a company is found.

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