Skip to main content
Glama
GethosTheWalrus

Temporal MCP Server

batch_terminate_activities

Terminate multiple activities in bulk by specifying a query filter. Control batch size and concurrency with optional limit and concurrency parameters.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesQuery to select activities to terminate
reasonNoReason for termination
limitNoMaximum number of activities to terminate (default: 100)
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, and the description only states it terminates activities and controls batch size. It does not disclose authorization needs, reversibility, or side effects.

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 one sentence plus an additional note on limit, front-loading the core purpose. It is efficient with no wasted words.

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?

For a batch operation with 4 parameters and no output schema, the description lacks details on return values, error conditions, and behavior when limit is exceeded or query matches many activities.

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 covers all 4 parameters with descriptions. The description adds that limit controls batch size and default 100, providing some value 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 clearly states it terminates multiple standalone activities by query, differentiating from sibling tools like batch_terminate (likely for workflows) and terminate_activity (single).

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?

The description mentions 'matching a query' but does not explicitly state when to use this tool versus siblings like batch_cancel_activities or terminate_activity. No alternative guidance is provided.

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