Skip to main content
Glama

Fiche d'un établissement ou d'une entreprise

get_company_details
Read-onlyIdempotent

Fiche détaillée d'une entreprise ou d'un établissement français (base SIRENE). Un seul identifiant, deux usages : un SIRET (14 chiffres) renvoie la fiche de CET établissement ; un SIREN (9 chiffres) renvoie celle du SIÈGE de l'entreprise. Structure de la réponse : la racine décrit l'ÉTABLISSEMENT (adresse, activité, effectif, état, conventions collectives applicables à CE site) et le bloc unite_legale décrit l'ENTREPRISE (identité, dirigeants, chiffre d'affaires, TVA). Le niveau de détail dépend du plan : géolocalisation et TVA en Starter, dirigeants et conventions collectives en Growth, finances et procédures collectives en Business. Un champ ABSENT n'est pas une donnée inexistante : il peut relever d'un palier supérieur — son absence ne prouve pas l'inexistence de la donnée. Les dirigeants sont des données personnelles issues du Registre National des Entreprises (INPI) ; chacun porte opposition_prospection — true = cette personne s'est opposée à l'usage de ses données à des fins de prospection commerciale, false = pas d'opposition enregistrée, null = non renseigné (à ne pas lire comme false). C'est le SEUL endroit où cette information est servie. false n'est ni un consentement ni une autorisation de démarchage, et la réponse le rappelle dans unite_legale.avis_dirigeants. Cet outil renseigne sur UNE entreprise nommée : n'enchaîne pas les fiches pour constituer une liste de dirigeants à contacter, et ne complète pas un dirigeant par des coordonnées trouvées ailleurs. Plan minimum : Discovery.

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": {
      "company_id": "<company_id>"
    },
    "name": "get_company_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
company_idYesSIRET (14 chiffres) de l'établissement, ou SIREN (9 chiffres) pour le siège de l'entreprise.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / company_id / description
      Added value: +"SIRET (14 chiffres) de l'établissement, ou SIREN (9 chiffres) pour le siège de l'entreprise."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "type": "object"
      +}
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare read-only/idempotent/open-world, but the description adds substantial behavior the annotations do not: plan-gated field availability (Starter/Growth/Business), the crucial caveat that an ABSENT field may be tier-gated rather than nonexistent, and the personal-data semantics of `opposition_prospection` including the null≠false distinction. It also flags that this is the only endpoint serving that field.

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?

Front-loaded with purpose and the SIRET/SIREN distinction, then response layout, then plan gating, then the compliance rules. Every block earns its place, though the dirigeants/prospection warning is restated at some length (the `false` ≠ consent point is made twice), which costs a bit of tightness.

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

Completeness5/5

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

An output schema exists, yet the description still helpfully explains the two-block response shape and tier gating that the schema alone wouldn't convey. Combined with the compliance guidance and plan minimum, an agent has everything needed to call this correctly and interpret absences.

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?

Schema coverage is 100% and the single parameter is already documented, so the baseline is 3. The description earns above baseline by explaining the downstream consequence of the identifier choice — a SIRET returns that site's fiche, a SIREN returns the siège — and by tying it to the response split between root (établissement) and `unite_legale` (entreprise).

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

Purpose5/5

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

Opens with a specific verb+resource: 'Fiche détaillée d'une entreprise ou d'un établissement français (base SIRENE)', and immediately specifies the two modes (SIRET=14 chiffres → établissement, SIREN=9 chiffres → siège). This is enough to tell it apart from search_company without opening either schema.

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?

Gives clear when-to-use context ('Cet outil renseigne sur UNE entreprise nommée') plus explicit exclusions: don't chain fiches to build prospecting lists, don't enrich a dirigeant with external contact data. It also states the minimum plan (Discovery). What's missing is an explicit pointer to the sibling that finds the identifier (search_company), which the agent must infer.

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.