Skip to main content
Glama

handoff — agent swarm coordination

miniapp_brain

Interact with miniapp brain execution and swarm evaluation.

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": {
      "action": "<action>"
    },
    "name": "miniapp_brain"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
paramsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

D1.6/5.0
Behavior2/5

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

Annotations declare a non-readonly, non-idempotent, non-destructive, closed-world operation, so the safety profile is partly covered. The description adds nothing beyond that: it does not say whether run_task is long-running, what state complete mutates, or what swarm evaluation entails.

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

Conciseness2/5

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

It is a single short sentence with no wasted words, but the brevity is under-specification rather than economy. Nothing is front-loaded because nothing substantive is stated.

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

Completeness1/5

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

For a multi-mode dispatcher taking an untyped nested params object with no output schema and no parameter documentation, the definition is grossly incomplete. It omits the meaning of every action and every parameter.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description compensates for none of it. The required 'action' enum values (status, run_task, complete) and the opaque nested 'params' object are never explained, so the agent must guess what each mode expects.

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

Purpose2/5

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

The description restates the tool name as 'miniapp brain execution and swarm evaluation' with the vague verb 'interact'. It never says what the tool actually does per mode, and it does not distinguish it from the sibling 'miniapp_manage'.

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

Usage Guidelines1/5

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

There is no when-to-use guidance, no mention of the three action modes, and no routing to or away from any sibling tool. An agent has no basis for choosing this over miniapp_manage or handoff_task.

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.