Skip to main content
Glama
Zenskar MCP Server

Zenskar MCP Server

Official
by zenskar

editManualPayment

editManualPayment

Update a manual payment's amount, method, timestamp, external reference, or invoice allocations by payment ID to keep billing records accurate.

Instructions

Edit a manual payment's details (amount, method, etc.). Uses the manual_payment-specific endpoint.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "paymentId": "<paymentId>"
    },
    "name": "editManualPayment"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountNoUpdated payment amount in cents.
paymentIdYesThe unique identifier (UUID) of the manual payment to edit.
timestampNoUpdated payment timestamp in ISO 8601 format.
external_idNoUpdated external reference ID.
__userContextNoInternal user context for multi-tenant authentication and approval workflow
payment_partsNoUpdated invoice allocations. Array of {invoice_id, amount}, with amount in cents.
payment_method_detailsNoUpdated payment method details object.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.4.2
    • changedInput schema / properties / amount / description
      Previous value: -"Updated payment amount."New value: +"Updated payment amount in cents."
    • changedInput schema / properties / payment_parts / description
      Previous value: -"Updated invoice allocations. Array of {invoice_id, amount}."New value: +"Updated invoice allocations. Array of {invoice_id, amount}, with amount in cents."
  2. First observedv2.2.4

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden and does very little with it. It does not say whether this is a partial update (fields omitted are left unchanged) or a full replacement, whether the edit is reversible, what permissions or approval flow it requires, or whether editing affects downstream invoices. For a mutation tool with nested-object parameters, that is a substantial gap.

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?

Two short sentences, front-loaded with the action and resource, with no filler. The trailing endpoint sentence is thin on information but does not bloat the text, so the definition remains tight and readable.

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?

This is a seven-parameter mutation tool with nested objects, no annotations, and no output schema, so the description must do most of the work — and it does not. Nothing is said about update semantics for omitted fields, side effects on invoices or allocations, auth/approval requirements, or what a successful edit returns, leaving the agent under-equipped to call it safely.

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%, so every parameter including payment_parts and payment_method_details is already documented in the schema; the baseline of 3 applies. The description's '(amount, method, etc.)' adds only a shallow echo of the schema and does not explain the semantics of the trickier parameters such as payment_parts invoice allocations or the partially documented __userContext approval object.

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 states a specific verb and resource ('Edit a manual payment's details') and enumerates the editable fields (amount, method), which is more than a restatement of the name. It hints at a distinction by noting it 'Uses the manual_payment-specific endpoint,' but it never names the generic sibling (updatePayment) it is contrasting itself with, so the differentiation is only implied.

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?

There is no explicit guidance on when to choose this tool over updatePayment or the other payment-editing siblings in the catalog. The phrase 'manual_payment-specific endpoint' gestures at a use case but leaves the agent to infer that this applies only to manual payments rather than card or otherwise-sourced payments. No prerequisites, exclusions, or alternatives are stated.

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

Deploy Server

Other Tools