Skip to main content
Glama

Paiements des ventes

list_sale_payments
Read-onlyIdempotent

Liste les paiements de ventes. (Lecture seule.)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_sale_payments"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoLes N derniers jours, aujourd'hui compris
limitNoNombre maximum de paiements renvoyés (défaut 50).
methodNomobile_money = tous les portefeuilles mobiles
sale_idNoIdentifiant d'une vente : seulement ses paiements. Vide = toutes les ventes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the parenthetical '(Lecture seule.)' merely restates structured data. Nothing is added about the implicit 30-day lookback default, result ordering, or volume/pagination behavior.

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?

Two short, front-loaded sentences with no padding. The parenthetical is arguably wasted space since it duplicates the readOnly annotation, but the definition is otherwise tight.

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

Completeness3/5

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

With no output schema, the description could usefully say what a payment record contains and that results default to the last 30 days and 50 rows. As written it is minimally adequate because the schema carries the parameter detail.

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% and all four parameters — including the mobile_money enum aggregation note and the sale_id 'empty = all sales' semantics — are documented in the schema itself. The description adds no meaning beyond it, so the baseline 3 applies.

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?

States a specific verb and resource ('Liste les paiements de ventes'), which distinguishes it from list_sales and get_sale well enough for an agent to grasp the subject. It does not, however, state scope or differentiate itself explicitly from sibling listing tools.

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?

There is no guidance on when to use this tool versus list_sales, get_sale, or the payment-analytics siblings, and no mention of the default 30-day window or how to narrow to a single sale. The agent must infer all usage context from the schema.

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