Skip to main content
Glama

Record payout

record_payout

Record a draft instructor payout for a pay period (amount is explicit). Approve + mark paid separately.

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": {
      "instructor_id": "<instructor_id>",
      "period_start": "<period_start>",
      "period_end": "<period_end>",
      "amount": "<amount>"
    },
    "name": "record_payout"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNo
amountYes
currencyNo
period_endYesYYYY-MM-DD
period_startYesYYYY-MM-DD
instructor_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false, so the safety profile is given. The description adds useful workflow context beyond that: the record is created in draft state and the amount must be supplied rather than derived. It does not address the non-idempotency risk (duplicate payouts for the same period) or whether a draft can later be edited or removed, which is the main behavioral gap for a financial write.

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 core action and state; nothing is redundant. The telegraphic style ("Approve + mark paid separately") is efficient but slightly clipped, costing a bit of clarity.

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 non-idempotent financial mutation with no output schema and largely undocumented parameters, the description covers the essentials of what is created but leaves currency behavior, duplicate handling, and return expectations unspecified. Adequate to call correctly in the happy path, thin for edge cases.

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?

With only 33% schema description coverage, the description should compensate, but it only clarifies that amount is explicit. currency (default? required?) and notes are left undocumented in both schema and description, and period_start/period_end already carry YYYY-MM-DD descriptions in the schema.

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

Purpose5/5

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

Names a specific verb and resource ("Record a draft instructor payout") and pins the lifecycle state ("draft") plus the scope ("for a pay period"). The parenthetical "amount is explicit" and the closing note about approving/being paid separately make it distinguishable from sibling payout tools like approve_payout and mark_payout_paid.

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

Usage Guidelines4/5

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

The phrase "Approve + mark paid separately" tells the agent this tool stops at draft creation and that later steps are out of scope, which is real routing guidance. It does not name the sibling tools explicitly or state what happens if a payout for the same period already exists, so it stops short of full when/when-not coverage.

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