Skip to main content
Glama
mcp-lettrage

mcp-lettrage

by m02xime

solde_client

Read-only

Retrieves a customer's outstanding balance, open invoices, unapplied credit notes, and recent payments; accepts a code, company name, or statement alias to identify the client for reconciliation.

Instructions

Situation d'un client : encours, factures ouvertes (avec retard et escompte), avoirs non imputés, derniers paiements reçus. client accepte le code (C0042), la raison sociale, un nom abrégé ou un alias vu sur un relevé (ex. « GROUPE MARTIN »). Utile pour départager des candidats ou repérer un avoir à déduire.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "client": "<client>"
    },
    "name": "solde_client"
  }
}

Input Schema

NameRequiredDescriptionDefault
clientYesCode client, raison sociale ou nom approchant

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safe-read profile is covered by structured data. The description does add value by disclosing what the response contains (open invoices with delay and discount, unapplied credits, latest payments), which matters since there is no output schema, but it says nothing about pagination, volume limits, or behavior when no client matches.

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?

Three sentences, front-loaded with what is returned, then the accepted input forms, then the practical use case. Every clause carries information; nothing is padding.

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 single-parameter read-only tool with no output schema, the description covers both the input forms and the returned data set, which is exactly what an agent needs to invoke it and interpret the result. No material gap remains.

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

Parameters4/5

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

Schema coverage is already 100% with 'Code client, raison sociale ou nom approchant', yet the description genuinely extends it: a concrete code format (C0042), the case of an alias copied from a statement, and a worked example (« GROUPE MARTIN »). That is real added meaning about matching tolerance, not a restatement.

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 names a specific resource (a client's account situation) and enumerates its components: outstanding balance, open invoices with lateness and discount, unapplied credits, recent payments. An agent can tell this is a per-client financial snapshot rather than an invoice search or a reconciliation action.

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?

It states concrete use cases — deciding between candidate clients and spotting a credit to deduct. It gives no explicit when-not condition or named alternative among siblings, so it stops short of full routing guidance.

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