Skip to main content
Glama

request

Queue deterministic daemon actions—such as serialized pushes, helper-agent spawns, human questions, and LAN pairing—then receive an intent ID; work runs later, not immediately.

Instructions

Ask the daemon to do something deterministic on your behalf. Returns immediately with an intent id — this queues work, it does not run it.

The daemon executes one intent at a time, so push cannot race another agent's push. That serialisation is the point where cabildo manages pushes; on a repo set to [push].mode = "manual" it does not, and you push by hand.

Actions: push — fetch, rebase onto the target, run the repo's gate, then push your committed work to origin/. It moves work to the REMOTE; it does not change your local (cabildo catches that up for you after a successful push). params: {"cwd": "", "target": "main", "remote": "origin"}. Requires a CLEAN tree: it pushes your commits, it will not decide what to commit for you. On conflict it aborts and hands it back. Gated by [push].mode: a repo set to "manual" pushes by hand, and a push there is refused. spawn — launch a headless helper agent in its own git worktree. params: {"role": "pm"|"qa"|"ux", "task": "", "repo": "", "target": "main", "model": "haiku"|"sonnet"|"opus" (optional, default omits)} You become the parent: the new agent is told who spawned it and will DM you its outcome. The daemon enforces a fleet cap, a spawn-depth limit, and the usage budget — a refusal is an answer, not something to retry. Prefer haiku/sonnet for grunt work; every agent burns the same shared usage window. ask — put a question in front of the human as a desktop notification with buttons. params: {"question": "...", "options": ["yes","no"]} His answer arrives later as an urgent DM from @jorge — don't block. pair — pair this machine with another on the LAN so messages sync both ways. No params: get a 6-digit PIN to show the user. On the other machine: {"pin": "482913"}, plus "host" and "port" if it is not found over mDNS. The PIN is valid for 10 minutes and 5 tries.

Poll intents for the outcome, or just wait — the daemon DMs you the result (urgently, if it failed).

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": "request"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
paramsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations at all, the description carries the entire behavioral burden and does so thoroughly: it discloses that the call is asynchronous and queues rather than executes, that the daemon serialises intents so pushes cannot race, that conflicts abort and hand back, that fleet caps, spawn-depth limits and shared usage budgets can refuse a spawn, and that PINs expire after 10 minutes and 5 tries. These are exactly the non-obvious constraints an agent would otherwise discover only by failing.

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 action-per-heading layout with inline params blocks is well front-loaded and easy to scan, and the async/queue warning appears first where it matters most. It loses a point for duplication: the [push].mode = "manual" caveat is stated twice (once in the intro about serialisation and again inside the push action), and the wrapping of the opening paragraph makes it more verbose than its content requires.

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 four-action multiplexer with no annotations, no output schema and a free-form params object, the description covers what an agent needs: async semantics, per-action inputs, refusal conditions, and the two ways to learn the outcome (poll `intents` or receive a DM). Remaining gaps are minor — the shape of an intent id, error/refusal payloads, and defaults for target/remote — and the pointer to `intents` partially covers the first.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must define the parameter space itself, and it largely does: per-action params objects are spelled out with field names and value sets (role pm|qa|ux, model haiku|sonnet|opus with default omitted, target, remote, cwd, question, options, pin, host, port). What it does not cover is the top-level `action` enum as a formal list, the null/default handling of `params`, or what an unrecognised action does — small but real gaps given zero schema help.

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?

The description opens with a precise statement of the tool's role — queue deterministic daemon work and return an intent id — and then names four concrete actions (push, spawn, ask, pair) with specific effects on each. An agent can tell what the tool does without opening the schema. It stops short of 5 because it never positions itself against close siblings such as ci_run or the agent-listing tools, so the boundary of 'what belongs here' is inferred rather than stated.

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

Usage Guidelines5/5

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

Each action carries explicit when-to-use and when-not context: push requires a CLEAN tree and is refused when [push].mode = "manual"; spawn should prefer haiku/sonnet and a refusal must not be retried; ask is fire-and-forget because the answer arrives later as an urgent DM; pair documents the host/port fallback. It also tells the agent how to collect outcomes ('Poll `intents` for the outcome, or just wait'). This is about as close to explicit routing guidance as a multiplexer can get.

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