Skip to main content
Glama

start_activity

Starts a new standalone Temporal activity execution by specifying the activity type, unique activity ID, and task queue, with optional arguments, namespace, and timeouts.

Instructions

Start a new standalone Temporal activity execution

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "activity": "<activity>",
      "activity_id": "<activity_id>",
      "task_queue": "<task_queue>"
    },
    "name": "start_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNoArguments to pass to the activity
activityYesActivity type name to start
namespaceNoTemporal namespace for this operation; omit to use the server default
task_queueYesTask queue for this activity
activity_idYesUnique identifier for the activity execution
start_to_close_timeout_secondsNoActivity start-to-close timeout in seconds
schedule_to_close_timeout_secondsNoTotal time limit in seconds, including time queued before a worker picks the activity up. Unlike start-to-close, this bounds the wait when no worker is polling the task queue.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it says nothing about whether the call is asynchronous, what happens when an activity_id already exists (deduplication or rejection), retry behavior, or what the caller receives back. For a tool that launches execution, these are material gaps.

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?

A single short sentence with no redundant wording, front-loaded with the action and resource. It is concise to the point of under-specification, but it does not waste space or bury the point.

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?

A 7-parameter execution-launching tool with no annotations and no output schema needs more than one sentence: the description should at least clarify async semantics, the meaning of activity_id uniqueness, and the standalone-versus-workflow distinction. As written, the definition is materially incomplete for its complexity.

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 every parameter is already documented in the schema, including the subtle difference between start-to-close and schedule-to-close timeouts. The description adds nothing beyond that, which meets the baseline for high coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a verb and resource ('Start a new ... activity execution') and the word 'standalone' hints at a distinction from workflow-bound activities. However, it does not explain what 'standalone' means or how this differs from the sibling execute_activity or start_workflow, so the agent cannot tell from the description alone which start tool to pick.

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?

There is no when-to-use or when-not-to-use guidance, no mention of prerequisites such as a running worker on the task queue, and no pointer to alternatives like execute_activity or start_workflow. The agent must infer selection purely from the tool name.

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