Skip to main content
Glama
cmendezs

mcp-facture-electronique-fr

search_flows

Search flows in the Approved Platform by filtering on flow type, status, processing rule, period, or tracking ID. Paginate results using the nextUpdatedAfter 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?

With no annotations, the description must convey behavioral traits. It explains pagination via updatedAfter and the nextUpdatedAfter field, but does not disclose read-only nature, idempotency, rate limits, or potential destructive effects. Some value added but incomplete.

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: first states purpose and criteria, second explains pagination. No redundant information, well-structured and efficient.

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?

Output schema exists, so return value details are covered. Description explains pagination but omits mention of limit parameter or default value, though these are in schema. Adequate for a search tool with high schema coverage.

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 baseline is 3. The description adds a high-level summary of filter criteria and pagination hint, but does not significantly augment the already detailed parameter descriptions.

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?

The description clearly states the tool searches flows (invoices, statuses, e-reportings) by criteria, listing key filter fields. However, it does not explicitly differentiate from sibling tools like get_flow, though the name implies broader query versus single retrieval.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It lacks explicit context for use cases, exclusions, or prerequisites, only explaining pagination mechanics.

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