Skip to main content
Glama

Mark payout paid

mark_payout_paid
Idempotent

Mark an approved payout as paid, with an optional external payment reference.

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": {
      "payout_id": "<payout_id>"
    },
    "name": "mark_payout_paid"
  }
}

Input Schema

NameRequiredDescriptionDefault
payout_idYes
referenceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true, destructiveHint=false, and readOnlyHint=false, so the mutation/idempotency profile is covered. The description adds the meaningful precondition that the payout must already be approved, but says nothing about what happens if it isn't, whether the state change is reversible, or what permissions are required.

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 well-formed sentence that front-loads the action, its target, and the precondition, with the optional parameter noted last. Nothing is wasted and nothing is buried.

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?

For a two-parameter state-transition tool with no output schema, the definition covers the essentials, and the annotations handle the safety profile. It is still thin on what the caller should expect on failure or how the reference is persisted, which matters for a payout mutation.

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 0%, so the description carries the burden. It does clarify that the second parameter is an optional external payment reference, which adds real meaning beyond the bare "reference" string in the schema, but payout_id is left entirely to inference and no format or constraint is given for either.

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 gives a specific verb and resource ("Mark ... payout as paid") plus a precondition ("approved"), which lets an agent distinguish it from the workflow-adjacent siblings approve_payout and record_payout. It stops short of naming or contrasting those siblings explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The word "approved" implies this is the step after approval and should not be used on a pending payout, which is useful implicit sequencing. However, there is no explicit when-to-use/when-not guidance and no named alternative for recording a payment that hasn't gone through approval.

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.

Resources