List payments of an invoice
runmyaccounts_list_invoice_paymentsList the payments booked against one customer invoice. API: GET /invoices/{invoice_number}/payments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_number | Yes | Invoice number. |
runmyaccounts_list_invoice_paymentsList the payments booked against one customer invoice. API: GET /invoices/{invoice_number}/payments.
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_number | Yes | Invoice number. |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, so safety is covered. The description adds the backing endpoint, but says nothing about pagination, result limits, or what a payment record contains.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two compact sentences, purpose front-loaded, endpoint detail trailing. No wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema exists, and the description doesn't indicate what the returned payment objects look like or whether the list is paginated/bounded, leaving an agent partially uninformed about results.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Single required parameter with 100% schema coverage, so the schema already defines invoice_number. Only one param, so baseline 4 applies per rule; description adds no extra semantics beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Specific verb and resource: lists payments booked against one customer invoice, which distinguishes it from runmyaccounts_list_vendor_invoice_payments by qualifying 'customer'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Implies you need an invoice number to fetch its payments, but gives no when-to-use vs runmyaccounts_list_payments_since (the broader time-based sibling) or runmyaccounts_get_invoice.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.