Skip to main content
Glama

Create a Opus Agent run

agentfarm_create_run

Queues an authenticated asynchronous task. This can consume paid model capacity. Poll with agentfarm_get_run_status, then read agentfarm_get_run_result.

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": {
      "task": "<task>"
    },
    "name": "agentfarm_create_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskYesTask for the agent to complete.
task_inputNoOptional JSON-compatible context or input data for the task.
idempotency_keyNoOptional retry key; the same key and input return the original run.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / idempotency_key
      Added value: +{
      +  "description": "Optional retry key; the same key and input return the original run.",
      +  "maxLength": 128,
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-destructive, non-open-world, and non-idempotent, so the safety profile is covered. The description adds value beyond that: the task is asynchronous (caller must poll rather than wait), it requires authentication, and it may incur paid model capacity. It omits what the returned handle looks like, which the agent needs to poll, and doesn't clarify how the idempotency_key interacts with idempotentHint=false.

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?

Three short sentences, front-loaded with the core action and followed by cost warning and next steps; no filler. The closing pointer could be joined into one sentence, but nothing is wasted.

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?

For a create-and-poll job starter with no output schema, the description covers the action, the cost implication, and the exact follow-up chain. The remaining gap is that it never says what identifier the call returns, which the agent presumably needs to pass to get_run_status.

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 task, task_input, and idempotency_key are already fully documented in the schema, including the retry semantics of the key. The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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 ("Queues an authenticated asynchronous task") and names the two sibling tools that form the follow-up workflow, so an agent can place it relative to get_run_status and get_run_result. It never literally says it creates a run/agent job matching the name and title, but the async-queue framing is unambiguous.

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

Usage Guidelines4/5

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

Gives the post-invocation workflow explicitly: poll with agentfarm_get_run_status, then read agentfarm_get_run_result. It also warns that the call can consume paid model capacity, which is real decision-relevant guidance. It does not discuss when not to use it (e.g., retry/dedup handling) but there is no obvious alternative starter tool among the siblings.

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.

Resources