Skip to main content
Glama

Last Price

set_payout_schedule

DestructiveIdempotent

Save your workspace's payout schedule whole. On each run day (UTC) a payout run of every unpaid ledger entry whose billing period has ended is requested in the name of whoever saved the schedule, so it still waits for approval by someone else, never by that saver; while a request is still waiting, the next run day requests nothing new. Turning it on needs a person behind the credential: a signed-in user, or a key or agent a person created. Answers 404 while payout runs are not switched on for your workspace (list_payout_runs says so in execution.enabled). Needs a Last Price credential with billing write scope. Needs a claimed workspace: a sandbox key from self-registration is refused (403) until a person claims the workspace.

Input Schema

NameRequiredDescriptionDefault
cadenceYesweekly or monthly.
enabledYestrue to request payouts on each run day, false to stop.
run_dayYesweekly: 1 (Monday) to 7 (Sunday). monthly: 1 to 28, so every month has it.
auto_retryNoRe-send transfers waiting for a retry each hour, with the same idempotency keys. Defaults to true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, the description explains the payout run mechanics, approval separation, no-op behavior while a request is pending, authentication requirements, 404 and 403 conditions, and the need for a claimed workspace. This is rich operational context for a destructive, idempotent mutation.

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?

The purpose is front-loaded, and most sentences carry useful operational detail. However, the long sentence describing run-day behavior is dense and could be easier to parse.

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

Completeness5/5

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

For a complex scheduling mutation with no output schema, the description covers the important behavior, prerequisites, error states, and approval flow. It gives an agent enough context to decide whether and how to invoke the tool 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%, and the schema already documents cadence, enabled, run_day ranges, and auto_retry defaults. The description only loosely maps "turning it on" to enabled and "each run day" to run_day/cadence, adding little parameter-level detail beyond 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?

The description opens with a specific verb and resource: "Save your workspace's payout schedule whole." It clearly distinguishes this configuration action from sibling tools like get_payout_schedule, list_payout_runs, and request_payout_run by focusing on saving the recurring schedule.

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?

It provides substantial context for when the tool applies: turning payouts on requires a person-backed credential, a billing-write Last Price credential, and a claimed workspace. It also references list_payout_runs for diagnosing the disabled-payout-runs 404, though it does not explicitly contrast itself with request_payout_run or get_payout_schedule.

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