Skip to main content
Glama

List operations

spoke_list_operations
Read-only

List long-running operations (plan optimizations): type, done flag, who started it, result (optimized and skipped stops), up to 20 per page. GET /operations.

Input Schema

NameRequiredDescriptionDefault
page_tokenNoPage token: pass the previous reply's nextPageToken (with the same other arguments) for the next page.
max_page_sizeNoResults per page, 1-20 (default 20).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is covered. The description adds genuine return context — it enumerates the fields surfaced (type, done flag, starter, optimized/skipped stops) and discloses the 'up to 20 per page' cap, which is meaningful behavior beyond the annotations.

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 dense sentence front-loads the verb and resource, then packs the return fields and pagination limit with no wasted words, ending with the endpoint. Nothing is redundant.

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

Completeness4/5

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

With no output schema, the description usefully compensates by summarizing the returned fields, and both parameters are schema-documented. It is nearly complete for a read-only list tool; only the absence of tie-in guidance for get_operation keeps it short of a 5.

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 both page_token and max_page_size are fully documented in the schema. The description's 'up to 20 per page' merely restates what the schema's maximum already enforces, adding no syntax or format detail. Baseline 3 is appropriate.

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?

States a specific verb and resource ('List long-running operations') and clarifies the domain by equating 'operations' with 'plan optimizations'. It clearly reads as a list tool, though it never distinguishes itself from the closely related sibling spoke_get_operation.

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?

Usage is only implied: the listed fields ('done flag', 'result') suggest polling to check optimization status, but there is no explicit when-to-use statement and no named alternative (e.g., get_operation for a single job). Adequate but with a clear routing gap.

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.