Skip to main content
Glama

Apiosk run plan

apiosk_execute_plan
DestructiveIdempotent

Start the plan the user approved, and return the job that runs it. Pass plan_token exactly as apiosk_plan returned it; it is the whole authorisation — the plan version, its hash and its one price ceiling, signed — so there is nothing else to pass and nothing here that could change what runs. Apiosk settles the calls from the connected balance, never above the ceiling that was approved. Call this only after a person approved that exact plan, and never to explore. It returns immediately with a job id: the work outlives this call, so watch it with apiosk_job_status, answer it with apiosk_resolve_job when it asks which subject was meant, and stop it with apiosk_cancel_job. If the plan changed or its quote expired since approval this refuses rather than starting — run apiosk_plan again and have the user approve the new one. Starting the same approved plan twice gives one job, not two.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
plan_tokenYesThe approved plan version, as `plan.plan_token` from apiosk_plan. Opaque: pass it back exactly as given. It carries the price ceiling, so there is no price for you to restate.
idempotency_keyNoOptional. Two starts with the same key give one job. Leave it out and one is derived from the plan token, which already means one job per approved plan.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

The description discloses key runtime behavior: it returns immediately, the work continues beyond the call, settlement is from the connected balance with a hard ceiling, and stale or changed plans are refused. It also notes idempotency explicitly ('Starting the same approved plan twice gives one job'), reinforcing the idempotentHint annotation without contradicting any annotation.

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?

The description is longer than average, but every sentence earns its place for a safety-critical execution tool. It front-loads the purpose and then layers authorization, side effects, follow-up actions, failure modes, and idempotency in logical order without filler.

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?

Given the tool starts real work with financial consequences, the description covers approval requirements, authorization scope, settlement limits, refusal on stale plans, job lifecycle, and idempotency. The output schema exists, so detailed return-value documentation is unnecessary; the immediate job-id behavior is already stated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents both parameters. The description adds critical meaning for plan_token by explaining it is the signed authorization containing version, hash, and price ceiling, which goes beyond the schema's type-only description. The optional `from` parameter is not discussed, but the schema covers it adequately.

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 'Start the plan the user approved, and return the job that runs it', which names a specific verb, resource, and return value. It clearly differentiates itself from siblings like apiosk_plan (plan creation), apiosk_job_status (observation), and apiosk_cancel_job (termination).

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

Usage Guidelines5/5

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

It gives explicit conditions: 'Call this only after a person approved that exact plan, and never to explore.' It also tells the agent what to do if the plan changed or quote expired (run apiosk_plan again and get new approval) and how to follow up using job status, resolve, and cancel tools.

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.

TDQS

A4.6/5.0
Disambiguation5/5

Each tool maps to a clear stage in the workflow: discovery, comparison, offer selection, execution, approval polling, plan creation, plan execution, job status, resolution, and cancellation. Even the discovery-stage tools (discover, compare, apiosk) are explicitly chained so an agent can tell them apart by purpose and output.

Naming Consistency4/5

Most tools follow a consistent apiosk_ prefix with snake_case and verb-led names like apiosk_discover, apiosk_execute, and apiosk_cancel_job. The bare apiosk tool and noun-style status tools (job_status, approval_status) are minor deviations from an otherwise predictable pattern.

Tool Count5/5

Eleven tools is well within the ideal range and each tool earns its place by covering a distinct user or agent action in the buying, planning, executing, and job-management lifecycle. There is no redundancy or padding.

Completeness5/5

The surface covers the full lifecycle: connect, discover, compare, quote, approve, execute single calls, create plans, execute plans, monitor jobs, resolve ambiguities, and cancel running jobs. There are no obvious dead ends or missing required operations for the stated purpose.