Skip to main content
Glama
zenskar

Zenskar MCP Server

Official
by zenskar

updatePayment

updatePayment

Update a payment's invoice allocations by providing a new array of payment parts with invoice IDs and amounts.

Instructions

Update a payment's invoice allocations. The API requires a non-empty request body with payment_parts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paymentIdYesThe unique identifier (UUID) of the payment to update.
payment_partsYesUpdated array of invoice allocations. Each element: {invoice_id: 'UUID', amount: 10000}. This field is required by the API.
__userContextNoInternal user context for multi-tenant authentication and approval workflow
Behavior2/5

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

No annotations exist, so the description must fully communicate behavioral traits. It only mentions the API requirement for a non-empty body, omitting authorization needs, side effects (e.g., whether existing allocations are replaced or merged), rate limits, or return value.

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?

Two sentences, front-loaded with the core purpose. Concise with no unnecessary words.

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?

The description is minimal but covers the essential action. However, it lacks details about return values, error scenarios, or any prerequisite conditions beyond the request body requirement, which is expected for a mutation tool.

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 coverage is 100%, so baseline is 3. The description adds no new meaning beyond the schema; it reiterates that payment_parts must be provided but does not elaborate on format or constraints already present in the schema.

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 description clearly states the action ('update') and the resource ('a payment's invoice allocations'). It is specific and distinguishes this tool from other payment-related siblings like createPayment or refundPayment, though it could explicitly name alternatives.

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 (e.g., editManualPayment). The only hint is the requirement for a non-empty request body, which is not a usage context.

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/zenskar/mcp-zenskar'

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