Skip to main content
Glama

resolve_companies

Read-onlyIdempotent

Rapprochement EN LOT de fiches mal identifiees (CRM, tableur, export CSV) vers leur SIREN.

A utiliser pour une LISTE de societes a identifier ("retrouve les SIREN de ces 200 clients"). Pour UNE societe cherchee par son nom, search_companies, qui rend des resultats classes ; celui-ci rend une decision, et refuse de trancher quand il n'est pas sur.

Chaque fiche revient avec un status :

  • resolved : SIREN certain.

  • review : plusieurs candidats plausibles ou nom trop generique ; les candidats sont retournes et le choix revient a l'utilisateur.

  • no_match : aucune correspondance.

reason explique un review : ambiguous_candidates, weak_name_overlap, shared_domain (site partage par un reseau ; domain_company_count dit combien de societes, fournir un nom ou un code postal), missing_name, invalid_domain, domain_no_match, lookup_failed (panne a rejouer, PAS une absence de correspondance).

Conseils : domain (domaine ou URL) resout seul quand il designe une seule societe. Le code postal double quasiment le taux de rapprochement. Un mot en trop dans le nom ("Carrefour Massy") nuit plus qu'un nom tronque. Un siren, siret ou numero de TVA francais est resolu sans recherche.

COUT : 1 appel de quota par fiche soumise, quelle que soit sa forme.

Retourne results[] (ordre d'entree, avec l'id fourni) et summary{total, resolved, review, no_match}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
recordsYesFiches a rapprocher, 200 maximum par appel
shared_domainNoDomaine porte par plusieurs societes : review (defaut) rend les candidats ; head rapproche vers la maison mere (groupe dominant, sinon plus gros CA), method=domain_head, confiance basse. Reserver aux colonnes d'enseignes.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultsYes
summaryYes
_user_planNo
_credits_remainingNo
_quota_remaining_monthNo
_quota_remaining_todayNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / records / items / properties / domain
      Added value: +{
      +  "description": "Site web de la societe, en domaine nu ou en URL complete. Tranche mieux qu'un nom quand il est connu.",
      +  "maxLength": 253,
      +  "type": "string"
      +}
    • addedInput schema / properties / shared_domain
      Added value: +{
      +  "description": "Domaine porte par plusieurs societes : review (defaut) rend les candidats ; head rapproche vers la maison mere (groupe dominant, sinon plus gros CA), method=domain_head, confiance basse. Reserver aux colonnes d'enseignes.",
      +  "enum": [
      +    "review",
      +    "head"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / _credits_remaining
      Added value: +{
      +  "type": "number"
      +}
  2. Changed3 schema fields changed
    • removedInput schema / properties / records / items / properties / domain
      Removed value: -{
      -  "description": "Site web de la societe, en domaine nu ou en URL complete. Tranche mieux qu'un nom quand il est connu.",
      -  "maxLength": 253,
      -  "type": "string"
      -}
    • removedInput schema / properties / shared_domain
      Removed value: -{
      -  "description": "Domaine porte par plusieurs societes : review (defaut) rend les candidats ; head rapproche vers la maison mere (groupe dominant, sinon plus gros CA), method=domain_head, confiance basse. Reserver aux colonnes d'enseignes.",
      -  "enum": [
      -    "review",
      -    "head"
      -  ],
      -  "type": "string"
      -}
    • removedOutput schema / properties / _credits_remaining
      Removed value: -{
      -  "type": "number"
      -}
  3. Changed3 schema fields changed
    • addedInput schema / properties / records / items / properties / domain
      Added value: +{
      +  "description": "Site web de la societe, en domaine nu ou en URL complete. Tranche mieux qu'un nom quand il est connu.",
      +  "maxLength": 253,
      +  "type": "string"
      +}
    • addedInput schema / properties / shared_domain
      Added value: +{
      +  "description": "Domaine porte par plusieurs societes : review (defaut) rend les candidats ; head rapproche vers la maison mere (groupe dominant, sinon plus gros CA), method=domain_head, confiance basse. Reserver aux colonnes d'enseignes.",
      +  "enum": [
      +    "review",
      +    "head"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / _credits_remaining
      Added value: +{
      +  "type": "number"
      +}
  4. Changed3 schema fields changed
    • removedInput schema / properties / records / items / properties / domain
      Removed value: -{
      -  "description": "Site web de la societe, en domaine nu ou en URL complete. Tranche mieux qu'un nom quand il est connu.",
      -  "maxLength": 253,
      -  "type": "string"
      -}
    • removedInput schema / properties / shared_domain
      Removed value: -{
      -  "description": "Domaine porte par plusieurs societes : review (defaut) rend les candidats ; head rapproche vers la maison mere (groupe dominant, sinon plus gros CA), method=domain_head, confiance basse. Reserver aux colonnes d'enseignes.",
      -  "enum": [
      -    "review",
      -    "head"
      -  ],
      -  "type": "string"
      -}
    • removedOutput schema / properties / _credits_remaining
      Removed value: -{
      -  "type": "number"
      -}
  5. Changed3 schema fields changed
    • addedInput schema / properties / records / items / properties / domain
      Added value: +{
      +  "description": "Site web de la societe, en domaine nu ou en URL complete. Tranche mieux qu'un nom quand il est connu.",
      +  "maxLength": 253,
      +  "type": "string"
      +}
    • addedInput schema / properties / shared_domain
      Added value: +{
      +  "description": "Domaine porte par plusieurs societes : review (defaut) rend les candidats ; head rapproche vers la maison mere (groupe dominant, sinon plus gros CA), method=domain_head, confiance basse. Reserver aux colonnes d'enseignes.",
      +  "enum": [
      +    "review",
      +    "head"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / _credits_remaining
      Added value: +{
      +  "type": "number"
      +}
  6. Changed3 schema fields changed
    • removedInput schema / properties / records / items / properties / domain
      Removed value: -{
      -  "description": "Site web de la societe, en domaine nu ou en URL complete. Tranche mieux qu'un nom quand il est connu.",
      -  "maxLength": 253,
      -  "type": "string"
      -}
    • removedInput schema / properties / shared_domain
      Removed value: -{
      -  "description": "Domaine porte par plusieurs societes : review (defaut) rend les candidats ; head rapproche vers la maison mere (groupe dominant, sinon plus gros CA), method=domain_head, confiance basse. Reserver aux colonnes d'enseignes.",
      -  "enum": [
      -    "review",
      -    "head"
      -  ],
      -  "type": "string"
      -}
    • removedOutput schema / properties / _credits_remaining
      Removed value: -{
      -  "type": "number"
      -}
  7. Changed3 schema fields changed
    • addedInput schema / properties / records / items / properties / domain
      Added value: +{
      +  "description": "Site web de la societe, en domaine nu ou en URL complete. Tranche mieux qu'un nom quand il est connu.",
      +  "maxLength": 253,
      +  "type": "string"
      +}
    • addedInput schema / properties / shared_domain
      Added value: +{
      +  "description": "Domaine porte par plusieurs societes : review (defaut) rend les candidats ; head rapproche vers la maison mere (groupe dominant, sinon plus gros CA), method=domain_head, confiance basse. Reserver aux colonnes d'enseignes.",
      +  "enum": [
      +    "review",
      +    "head"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / _credits_remaining
      Added value: +{
      +  "type": "number"
      +}
  8. Changed3 schema fields changed
    • removedInput schema / properties / records / items / properties / domain
      Removed value: -{
      -  "description": "Site web de la societe, en domaine nu ou en URL complete. Tranche mieux qu'un nom quand il est connu.",
      -  "maxLength": 253,
      -  "type": "string"
      -}
    • removedInput schema / properties / shared_domain
      Removed value: -{
      -  "description": "Domaine porte par plusieurs societes : review (defaut) rend les candidats ; head rapproche vers la maison mere (groupe dominant, sinon plus gros CA), method=domain_head, confiance basse. Reserver aux colonnes d'enseignes.",
      -  "enum": [
      -    "review",
      -    "head"
      -  ],
      -  "type": "string"
      -}
    • removedOutput schema / properties / _credits_remaining
      Removed value: -{
      -  "type": "number"
      -}
  9. Changed3 schema fields changed
    • addedInput schema / properties / records / items / properties / domain
      Added value: +{
      +  "description": "Site web de la societe, en domaine nu ou en URL complete. Tranche mieux qu'un nom quand il est connu.",
      +  "maxLength": 253,
      +  "type": "string"
      +}
    • addedInput schema / properties / shared_domain
      Added value: +{
      +  "description": "Domaine porte par plusieurs societes : review (defaut) rend les candidats ; head rapproche vers la maison mere (groupe dominant, sinon plus gros CA), method=domain_head, confiance basse. Reserver aux colonnes d'enseignes.",
      +  "enum": [
      +    "review",
      +    "head"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / _credits_remaining
      Added value: +{
      +  "type": "number"
      +}
  10. Changed3 schema fields changed
    • removedInput schema / properties / records / items / properties / domain
      Removed value: -{
      -  "description": "Site web de la societe, en domaine nu ou en URL complete. Tranche mieux qu'un nom quand il est connu.",
      -  "maxLength": 253,
      -  "type": "string"
      -}
    • removedInput schema / properties / shared_domain
      Removed value: -{
      -  "description": "Domaine porte par plusieurs societes : review (defaut) rend les candidats ; head rapproche vers la maison mere (groupe dominant, sinon plus gros CA), method=domain_head, confiance basse. Reserver aux colonnes d'enseignes.",
      -  "enum": [
      -    "review",
      -    "head"
      -  ],
      -  "type": "string"
      -}
    • removedOutput schema / properties / _credits_remaining
      Removed value: -{
      -  "type": "number"
      -}
  11. Changed3 schema fields changed
    • addedInput schema / properties / records / items / properties / domain
      Added value: +{
      +  "description": "Site web de la societe, en domaine nu ou en URL complete. Tranche mieux qu'un nom quand il est connu.",
      +  "maxLength": 253,
      +  "type": "string"
      +}
    • addedInput schema / properties / shared_domain
      Added value: +{
      +  "description": "Domaine porte par plusieurs societes : review (defaut) rend les candidats ; head rapproche vers la maison mere (groupe dominant, sinon plus gros CA), method=domain_head, confiance basse. Reserver aux colonnes d'enseignes.",
      +  "enum": [
      +    "review",
      +    "head"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / _credits_remaining
      Added value: +{
      +  "type": "number"
      +}
  12. Changed3 schema fields changed
    • removedInput schema / properties / records / items / properties / domain
      Removed value: -{
      -  "description": "Site web de la societe, en domaine nu ou en URL complete. Tranche mieux qu'un nom quand il est connu.",
      -  "maxLength": 253,
      -  "type": "string"
      -}
    • removedInput schema / properties / shared_domain
      Removed value: -{
      -  "description": "Domaine porte par plusieurs societes : review (defaut) rend les candidats ; head rapproche vers la maison mere (groupe dominant, sinon plus gros CA), method=domain_head, confiance basse. Reserver aux colonnes d'enseignes.",
      -  "enum": [
      -    "review",
      -    "head"
      -  ],
      -  "type": "string"
      -}
    • removedOutput schema / properties / _credits_remaining
      Removed value: -{
      -  "type": "number"
      -}
  13. Changed1 schema field changed
    • addedInput schema / properties / shared_domain
      Added value: +{
      +  "description": "Domaine porte par plusieurs societes : review (defaut) rend les candidats ; head rapproche vers la maison mere (groupe dominant, sinon plus gros CA), method=domain_head, confiance basse. Reserver aux colonnes d'enseignes.",
      +  "enum": [
      +    "review",
      +    "head"
      +  ],
      +  "type": "string"
      +}
  14. Changed1 schema field changed
    • addedInput schema / properties / records / items / properties / domain
      Added value: +{
      +  "description": "Site web de la societe, en domaine nu ou en URL complete. Tranche mieux qu'un nom quand il est connu.",
      +  "maxLength": 253,
      +  "type": "string"
      +}
  15. Changed1 schema field changed
    • addedOutput schema / properties / _credits_remaining
      Added value: +{
      +  "type": "number"
      +}
  16. Changed3 schema fields changed
    • changedOutput schema / properties / results / items / additionalProperties
      Previous value: -falseNew value: +{}
    • changedOutput schema / properties / results / items / properties / candidates / items / additionalProperties
      Previous value: -falseNew value: +{}
    • changedOutput schema / properties / summary / additionalProperties
      Previous value: -falseNew value: +{}
  17. Changed1 schema field changed
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +{}
  18. Changed3 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / context
      Removed value: -{
      -  "description": "Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): \"Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization.\"",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "records",
      -  "context"
      -]New value: +[
      +  "records"
      +]
  19. Changed3 schema fields changed
    • addedOutput schema / properties / _quota_remaining_month
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / _quota_remaining_today
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / _user_plan
      Added value: +{
      +  "type": "string"
      +}
  20. Changed3 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / context
      Added value: +{
      +  "description": "Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): \"Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization.\"",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "records"
      -]New value: +[
      +  "records",
      +  "context"
      +]
  21. First observed

TDQS

A5/5.0
Behavior5/5

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

Even with readOnlyHint, idempotentHint, and destructiveHint annotations, the description adds substantial context: quota cost per submitted record, status semantics (resolved/review/no_match), explicit reasons for review, and a caveat that lookup_failed is an outage to retry, not an absence of match. It also details the shared_domain behavior with review versus head.

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?

The description is long but every section earns its place: main purpose, alternative tool, statuses, reasons, practical tips, cost, and return shape. It is front-loaded with the primary purpose and the sibling distinction, then organized into scannable labeled segments.

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?

For a batch reconciliation tool with complex decision behavior, the description covers the input, output format, statuses, reasons, cost, parameter semantics, and edge cases. Nothing an agent needs to decide when and how to call this tool is missing.

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

Parameters5/5

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

The input schema already has 100% parameter coverage, but the description goes further by explaining how different fields affect resolution quality, such as domain being decisive when it maps to one company)Skip, postal code doubling match rate, extra words harming matches, and SIREN/SIRET/VAT being resolved without lookup. It also explains the shared_domain enum semantics beyond the schema.

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?

The description opens with a specific verb and resource: 'Rapprochement EN LOT de fiches mal identifiees ... vers leur SIREN'. It explicitly contrasts itself with search_companies, which returns ranked results for a single name, while this tool returns a decision and refuses to decide when unsure.

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

Usage Guidelines5/5

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

It states clearly to use this tool for a LIST of companies to identify, and points to search_companies when looking up one company by name. It also gives parameter-level usage guidance, such as domain resolving alone when it designates one company and postal code roughly doubling the match rate.

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