Skip to main content
Glama

create_invoice_payment_by_invoice_id

Idempotent

Create a payment for an invoice by providing the invoice ID and payment amount. Optionally include currency, date, and payment method.

Instructions

Create a payment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
invoice_idYesID of the payment
amountYesA number representing the total amount of the invoice.
currencyNoThe currency used for the payment.
dateNoDate on which the payment was created.
payment_method_idNoIdentifier of the payment method.
Behavior2/5

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

Annotations indicate readOnlyHint=false, destructiveHint=false, and idempotentHint=true, but the description adds no behavioral details beyond 'create'. No mention of required permissions, side effects, or what happens on multiple calls.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Extremely short (one sentence), but it is underinformative rather than concise. Every word should earn its place, and here it fails to provide necessary guidance.

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

Completeness2/5

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

Given the tool has 5 parameters, 2 required, and no output schema, the description is insufficient. It does not explain the relationship to invoices, the effect of the operation, or how to use the optional parameters. Sibling tools are many, and this description does not help an agent decide when to call it.

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

Parameters2/5

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

Schema coverage is 100%, so parameter descriptions exist, but the overall description adds no value. Additionally, the schema description for invoice_id incorrectly says 'ID of the payment' instead of invoice ID, which could mislead.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Create a payment.' is vague and does not specify that it is for an invoice payment, nor does it distinguish from other create tools like create_invoice or create_invoice_vat. The tool name indicates more specificity, but the description fails to convey that.

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?

No guidance on when to use this tool versus alternatives. Multiple create tools exist, but the description gives no context for choosing this one.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/martijnpieters/eduframe-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server