Skip to main content
Glama

See payments from my students

list_payments
Read-only

Lists what the trainer's students paid or owe: amount, student, phone to reach the student (the guardian's for a dependent), due date, paid date and status. Use status "overdue" for unpaid charges past their due date (oldest first, with days_overdue), "open" for everything not paid yet (soonest due date first, with days_until_due; add from/to for "who pays me in the next 7 days"), "paid" for received payments. Pass student (part of the name) to see one student only. Totals are in BRL. Read only: nothing is charged or sent to the student.

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_payments"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoDue or paid on or before, YYYY-MM-DD.
fromNoDue or paid on or after, YYYY-MM-DD.
statusNo"overdue", "open", "paid" or "all" (default).
studentNoOnly this student: any words of the name, in any order ("souza ana"). Totals then cover just them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / student
      Added value: +{
      +  "description": "Only this student: any words of the name, in any order (\"souza ana\"). Totals then cover just them.",
      +  "maxLength": 120,
      +  "type": "string"
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, yet the description still adds real value: per-status ordering (oldest first with days_overdue, soonest due date first with days_until_due), computed fields not derivable from the input schema, and the currency of totals (BRL). The closing "nothing is charged or sent to the student" reinforces rather than contradicts the read-only annotation. Gaps remain on result volume and 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?

Content is front-loaded: returned fields come first, then status usage, then the student filter, then the safety note. The parenthetical asides are dense but each carries useful semantics. A couple of clauses (the student filter, the read-only note) partially restate the schema and annotations, costing a little tightness.

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?

With no output schema, the description takes on the burden of describing return values and does so field by field, including conditional fields like days_overdue and days_until_due. The main unresolved question for an agent is the default time window when no from/to is supplied and whether large result sets are bounded or paginated.

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 100%, so the baseline is 3, but the description earns above that by explaining what each status value actually selects and by supplying a practical filter pattern for from/to ("who pays me in the next 7 days"). The student parameter's effect on totals is restated, which is mild redundancy with the schema, but the status semantics are genuinely additive.

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 first sentence names a specific verb and resource ("Lists what the trainer's students paid or owe") and enumerates the returned fields (amount, student, phone, due date, paid date, status). Scope is bounded to the trainer's own students, which separates it from account-level payment tools. It never explicitly contrasts itself with siblings such as list_charges or list_student_payments, so it lands at 4 rather than 5.

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 gives concrete when-to-use rules per status value: "overdue" for unpaid charges past due, "open" for everything unpaid, "paid" for received payments, plus a worked scenario ("add from/to for 'who pays me in the next 7 days'"). What is missing is any when-not-to-use guidance or a named alternative tool for adjacent needs.

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