Skip to main content
Glama
cmendezs

mcp-facture-electronique-fr

search_directory_line

Search electronic invoice directory lines to verify recipient registration and identify their Approved Platform using SIREN, SIRET, or routing codes.

Instructions

Search directory lines (electronic invoice receiving addresses) (POST /ligne-annuaire/recherche).

Call before sending an invoice to verify the recipient has a registered line and to identify their Approved Platform.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sirenNoSIREN (9 digits).
siretNoSIRET (14 digits).
limiteNoMaximum number of results (limite).
ignorerNoNumber of results to skip for pagination (ignorer).
identifiant_routageNoRouting-code identifier.
matricule_plateformeNo4-digit Approved Platform registration number.
identifiant_adressageNoExact addressing identifier (identifiantAdressage).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changedv0.7.0
    • addedInput schema / properties / identifiant_adressage
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Exact addressing identifier (identifiantAdressage)."
      +}
    • addedInput schema / properties / identifiant_routage
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Routing-code identifier."
      +}
    • addedInput schema / properties / ignorer
      Added value: +{
      +  "default": 0,
      +  "description": "Number of results to skip for pagination (ignorer).",
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • removedInput schema / properties / limit
      Removed value: -{
      -  "default": 50,
      -  "description": "Maximum number of results per page (1-500, default 50).",
      -  "maximum": 500,
      -  "minimum": 1,
      -  "type": "integer"
      -}
    • addedInput schema / properties / limite
      Added value: +{
      +  "default": 50,
      +  "description": "Maximum number of results (limite).",
      +  "maximum": 500,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / matricule_plateforme
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "4-digit Approved Platform registration number."
      +}
    • removedInput schema / properties / platform_id
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Filter by Approved Platform identifier. Use to list all lines managed by a specific AP."
      -}
    • removedInput schema / properties / routing_code
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Filter by routing code associated with the directory line. Use to find the exact line for a department-level address."
      -}
    • changedInput schema / properties / siren / description
      Previous value: -"Taxable entity SIREN (9 digits). Returns all directory lines (at SIREN, SIRET, and routing-code level) registered for this company. Most common starting point."New value: +"SIREN (9 digits)."
    • changedInput schema / properties / siret / description
      Previous value: -"Specific establishment SIRET (14 digits). Narrows results to lines for this establishment only."New value: +"SIRET (14 digits)."
    • removedInput schema / properties / updated_after
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Pagination cursor: only return lines updated after this date/time (ISO 8601, e.g. 2024-09-01T00:00:00Z). Use the 'nextUpdatedAfter' field from the previous response to fetch the next page."
      -}
  2. Changed6 schema fields changedv0.2.2
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum number of results (1-500)."New value: +"Maximum number of results per page (1-500, default 50)."
    • changedInput schema / properties / platform_id / description
      Previous value: -"Filter by Approved Platform identifier."New value: +"Filter by Approved Platform identifier. Use to list all lines managed by a specific AP."
    • changedInput schema / properties / routing_code / description
      Previous value: -"Filter by routing code associated with the directory line."New value: +"Filter by routing code associated with the directory line. Use to find the exact line for a department-level address."
    • changedInput schema / properties / siren / description
      Previous value: -"Taxable entity SIREN (9 digits). Returns all directory lines registered for this company."New value: +"Taxable entity SIREN (9 digits). Returns all directory lines (at SIREN, SIRET, and routing-code level) registered for this company. Most common starting point."
    • changedInput schema / properties / siret / description
      Previous value: -"Specific establishment SIRET (14 digits)."New value: +"Specific establishment SIRET (14 digits). Narrows results to lines for this establishment only."
    • changedInput schema / properties / updated_after / description
      Previous value: -"ISO 8601 pagination (e.g. 2024-09-01T00:00:00Z)."New value: +"Pagination cursor: only return lines updated after this date/time (ISO 8601, e.g. 2024-09-01T00:00:00Z). Use the 'nextUpdatedAfter' field from the previous response to fetch the next page."
  3. First observedv0.2.0

TDQS

A3.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It describes the operation as a search, implying it is read-only and safe, but does not explicitly disclose behavioral traits such as authentication requirements, rate limits, or the fact that it uses a POST method. More detail would be needed for full transparency.

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 concise with two sentences and a parenthetical endpoint. It front-loads the purpose and then provides usage context. Every sentence adds value, and there is no wasted text.

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?

Given 7 optional parameters and the presence of an output schema, the description provides sufficient context for the primary use case. It lacks detail on default behavior when no parameters are supplied, but overall is adequate for a search tool.

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 baseline is 3. The description does not add additional meaning beyond what the schema already provides for each parameter. It mentions the overall purpose but does not clarify which parameters are most relevant for the stated use case.

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 clearly states the tool searches directory lines (electronic invoice receiving addresses) and explicitly mentions the use case: verifying a recipient's registered line and Approved Platform before sending an invoice. This distinguishes it from sibling tools like create, get, or delete directory lines.

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?

The description explicitly says 'Call before sending an invoice to verify the recipient has a registered line and to identify their Approved Platform,' providing clear when-to-use guidance. However, it does not explicitly state when not to use or suggest alternative tools, though the context implies usage for verification.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.