Skip to main content
Glama
GethosTheWalrus

Temporal MCP Server

batch_terminate_activities

Terminate multiple standalone activities matching a query, with control over batch size and concurrency.

Instructions

Terminate multiple standalone activities matching a query. Specify 'limit' to control batch size (default: 100).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of activities to terminate (default: 100)
queryYesQuery to select activities to terminate
reasonNoReason for termination
concurrencyNoNumber of activities to terminate concurrently (default: 50)
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It mentions termination via query and limit details but omits side effects, irreversibility, success/failure reporting, or how concurrency and reason parameters affect execution.

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 a single concise sentence front-loaded with the primary action. However, it omits important details about other parameters and behavior, slightly reducing efficiency.

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

Completeness2/5

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

Given no output schema and no annotations, the description is insufficient. It lacks explanation of return values, error handling, behavior when limit is exceeded, and the role of concurrency and reason, making the tool's complete behavior unclear.

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?

Schema description coverage is 100%, but the description adds minimal value beyond what the schema already provides (e.g., limit default 100 is in both). It does not elaborate on query format, reason usage, or concurrency behavior.

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 clearly states 'Terminate multiple standalone activities matching a query', specifying a verb, resource, and method. It distinguishes from siblings like singular terminate_activity and batch_cancel_activities.

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 only mentions controlling batch size via 'limit', but provides no guidance on when to use this tool versus alternatives like cancel_activity or batch_cancel_activities, and no when-not-to-use context.

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/GethosTheWalrus/temporal-mcp'

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