Skip to main content
Glama

Create a GPT Luna 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

A4/5.0
Behavior4/5

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

Annotations only declare the safety profile (non-read-only, non-destructive). The description adds genuinely new behavior: the call is asynchronous, requires authentication, and can consume paid model capacity — the cost warning is the kind of disclosure annotations cannot carry. It still omits what happens on failure or whether a run persists after errors.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the action and its cost implication, followed by the next-step routing. No filler, no repetition of the name or schema.

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 an async create tool with no output schema, the essential gap an agent would face is how to retrieve the result, and the description closes it by naming the status and result tools in order. A minor omission is that it never says the call returns a run identifier needed to poll.

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, including the retry semantics of the key. The description adds no parameter-level detail 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?

"Queues an authenticated asynchronous task" gives a specific verb (queues) and resource (async task), and the title names the concrete agent (GPT Luna run). It stops short of explicitly distinguishing this create tool from siblings like agentfarm_cancel_run, relying on the workflow sentence to route the agent.

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?

The description lays out the follow-up workflow precisely: poll with agentfarm_get_run_status, then read agentfarm_get_run_result. That is clear operational context. It does not state any when-not-to-use condition (e.g., when to cancel instead, or when a run is already in flight), so it falls short of a 5.

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