Skip to main content
Glama

longRunningOperation

Execute extended operations with real-time progress tracking. Configure duration and step count to monitor task completion through notifications.

Instructions

Demonstrates a long-running operation with progress notifications.

Args: duration: Total duration of the operation in seconds (default: 10) steps: Number of progress steps to report (default: 5)

Returns: Completion message with duration and steps info

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
durationNo
stepsNo
ctxNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses key behavioral traits: it's a long-running operation with progress notifications, which implies it may take time and provide intermediate updates. However, it doesn't specify whether it's safe, reversible, has side effects, or requires specific permissions. The mention of 'progress notifications' is helpful but incomplete.

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 description is appropriately sized and front-loaded with the main purpose. The Args and Returns sections are structured clearly. However, the 'ctx' parameter omission reduces efficiency, and the description could be more concise by integrating parameter details more seamlessly.

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?

Given the tool's complexity (long-running with progress) and no annotations, the description is moderately complete. It explains the purpose and key parameters but lacks details on behavioral aspects like error handling or side effects. The presence of an output schema means return values are covered, but overall context for safe usage is insufficient.

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 description coverage is 0%, so the description must compensate. It adds meaningful semantics for 'duration' (total duration in seconds) and 'steps' (number of progress steps), which are not documented in the schema. However, it omits the 'ctx' parameter entirely, leaving it undocumented. The description partially compensates but has a significant gap for one parameter.

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 clearly states the tool's purpose: 'Demonstrates a long-running operation with progress notifications.' This specifies the verb ('demonstrates') and resource ('long-running operation'), though it's somewhat abstract rather than concrete. It distinguishes from siblings like 'echo' or 'sum' by focusing on progress notifications, but doesn't explicitly differentiate from potentially similar tools.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention any specific scenarios, prerequisites, or exclusions. Given the sibling tools include various utilities, there's no indication whether this is for testing, simulation, or actual operations.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kcbabo/everything-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server