Skip to main content
Glama
cmendezs

mcp-facture-electronique-fr

search_flows

Find invoices, statuses, and e-reportings by filtering on flow type, status, processing rule, period, or tracking ID. Paginate using the updatedAfter field.

Instructions

Search flows (invoices, statuses, e-reportings) in the Approved Platform by criteria: flow type, status, processingRule, period, trackingId. Pagination via updatedAfter: use the 'nextUpdatedAfter' field from the response as the updated_after parameter value to get the next page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
processing_ruleNoFilter by processing rule: B2B, B2BInt, B2C, OutOfScope, ArchiveOnly, NotApplicable.
flow_typeNoFilter by flow type: Invoice, CreditNote, EReportingB2B, EReportingB2C, LifecycleStatus, etc.
statusNoFilter by flow status. Examples: Deposited, Processing, Delivered, Rejected, Approved, Refused. Refer to the AP documentation for the complete list.
updated_afterNoPagination: only return flows updated after this date/time (ISO 8601 format, e.g. 2024-09-01T00:00:00Z). Use the 'nextUpdatedAfter' value from the previous response to paginate.
tracking_idNoFilter by trackingId (sender free-form identifier, maxLength 36).
limitNoMaximum number of flows to return (1-500, default 50).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations exist, so the description carries full burden. It mentions pagination behavior and the nextUpdatedAfter field, but does not disclose whether the operation is read-only, required permissions, or potential side effects. Adequate but not thorough.

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?

Two sentences, front-loaded with purpose and criteria, followed by pagination instruction. Every sentence adds value with no redundancy.

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 the tool's complexity (6 optional parameters, pagination, output schema), the description covers purpose, main filters, and pagination. It could mention default limit or that it returns a list, but overall complete.

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% (all parameters have descriptions). The tool description adds value by explaining pagination (using nextUpdatedAfter), but otherwise summarizes what's already in the schema. Baseline 3 with marginal improvement.

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 flows (invoices, statuses, e-reportings) by specific criteria. It uses the verb 'search' matching the name and distinguishes from sibling tools like get_flow (single flow) and submit_flow.

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 explains when to use: to search flows by criteria. It provides pagination guidance but does not explicitly exclude alternatives or state when not to use. Still, the context is clear for a search tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cmendezs/mcp-facture-electronique-fr'

If you have feedback or need assistance with the MCP directory API, please join our Discord server