Skip to main content
Glama

Tradify by Cotlet

Record payment

record_payment
Destructive

Record a payment received against an invoice and reduce the amount due.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoPayment date. Default: today.
amountYesAmount received, at most the amount due.
methodNoPayment method name, e.g. Bank Deposit, Cash, Credit Card. Default: Unknown.
referenceNoe.g. the check number.
invoice_idYesInvoice ID from list_invoices.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true, so the safety profile is known. The description adds a useful behavioral fact — that recording a payment reduces the amount due — but says nothing about irreversibility, what happens on duplicate calls, or returned results, which matters for a non-idempotent mutation.

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?

A single sentence that front-loads the verb and resource and includes the key side effect with no filler. Nothing is wasted.

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?

Annotations and schema together cover safety and parameters well, and there is no output schema to explain. However, for a destructive, non-idempotent mutation the description omits what a successful call returns and any error/validation behavior, leaving meaningful gaps.

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%, with each of the five parameters documented including defaults and the 'at most the amount due' constraint. The description adds no parameter-level meaning beyond that, so the baseline of 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 (record a payment) plus its effect on the invoice balance, so the operation is unmistakable. It does not explicitly contrast with siblings like send_invoice or list_invoices, but those are different operations so disambiguation is largely inherent.

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 says what the tool does but never states when to use it versus alternatives, prerequisites (e.g., invoice must exist via list_invoices, amount must not exceed amount due), or the partial-payment case. All such guidance is only implicit or buried in parameter descriptions.

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.