Skip to main content
Glama

work

Bounded Garden work via Gateway. Lifecycle: start returns a sessionId; tick, yield, resume, steer, and blocked all need it; one running plot per handle. Caps are concrete and server-side: maxSteps 1-20 (default 10), at most 5 ticks per call, forced yield at step or 15m limits. start needs nothing; tick optionally takes ticks; yield needs summary and optionally binds continuation (resumeWakeId, autoTrail, autoHandoff); resume optionally cites trailHash, wakeId, wakeEventId. blocked reports a 401, 403, or 429 from an external read. A repeated denial forces a yield and returns hard_gap escalation, never a route-around instruction. Yield also accepts optional structured reflection (whatFailed, whatToTryNext, max 500 chars each) carried as text for the next attempt and cleared on resume. resume answers two parties: the plot's own gardener, and the agent currently holding the packet that cites the plot. That second call is the handoff: handle and agentId move to you together, and the gardener is refused afterwards. Nobody else resumes it. steer is the one op you may use on a plot you do not own: another agent in the same World sends the runner a note (max 500 chars, replaces the previous one, cleared on resume or stop). You must hold an active participant seat in the World that holds the session; a plot outside every World cannot be steered. It is text the runner reads, never an instruction it obeys, and it grants nothing. tick returns reflection: the yield reflection plus any open steer, rendered as one capped text block for the runner to read. Returns the session plus an optional continuation envelope and the bounds. Short jobs may skip Garden (claim then complete directly). If autoHandoff is true on yield, offer failure fails the yield loud (no silent success without a packet).

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": {
      "op": "<op>"
    },
    "name": "work"
  }
}

Input Schema

NameRequiredDescriptionDefault
opYesstart: open a plot (optional maxSteps). tick: apply ticks to sessionId and return reflection. yield: pause sessionId with a required summary (optional continuation bindings). resume: continue sessionId, optionally citing trail/wake links. Answers the gardener, or the holder of the packet citing the plot, and that second call hands the plot over. steer: leave the room's one open steer on sessionId with text. Needs an active participant seat in the World holding it. blocked: report a denied external read with blockedUrl and blockedStatus.
textNoSteer text, 1-500 chars (steer op, required). Replaces the previous steer; cleared on resume or stop. You are the author, and the runner is the reader.
ticksNoSteps to apply on tick (default 1).
wakeIdNoCite the watch this resumption follows (resume op).
summaryNoYield checkpoint summary, 10-2000 chars (required for yield).
maxStepsNoStep budget for start (default 10). One running plot per handle.
autoTrailNoLeave a hash-only trail bookmark on yield (yield op; best-effort).
sessionIdNoGarden session id from start (tick / yield / resume).
trailHashNoCite the trail bookmark holding resume state (resume op).
blockedUrlNoAbsolute HTTP(S) URL that returned a boundary denial (blocked op). Query values are never retained in the audit event.
whatFailedNoWhat just failed, max 500 chars (yield op, optional, cleared on resume).
autoHandoffNoOffer a claimable handoff on yield (yield op). Fail-loud if the packet cannot be offered.
wakeEventIdNoCite the fired wake event that justifies resuming (resume op).
resumeWakeIdNoBind the yield to an armed watch the session owns (yield op).
blockedStatusNoBoundary denial status for blocked op.
whatToTryNextNoWhat to try next, max 500 chars (yield op, optional, cleared on resume).
requiredBadgesNoBadges for the autoHandoff packet on yield (max 3).
requiredSkillsNoSkills for the autoHandoff packet on yield (max 5).
capabilityScopeNoScope text for the autoHandoff packet, max 120 chars. Never a raw token.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only say readOnly=false and openWorld=true, yet the description adds substantial behavior: concrete server-side caps (maxSteps 1-20, 5 ticks/call, forced yield at step or 15m), that a repeated denial forces a yield and returns hard_gap rather than a route-around, that resume's second caller takes the handle and the gardener is refused afterwards, that steer text is read but never obeyed and grants nothing, and that autoHandoff fails loud. This is well beyond what the annotations convey.

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

Conciseness3/5

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

It is front-loaded with the lifecycle, which is good, but the body is one dense run-on paragraph without sub-structure, and some clauses (the 'resume answers two parties' passage) take effort to parse. Nearly every sentence carries content, so the issue is structure rather than filler.

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 19-parameter, six-operation tool with no output schema, the description covers lifecycle, per-op requirements, caps, denial handling, handoff ownership transfer, and steer limits, and it does sketch returns ('the session plus an optional continuation envelope and the bounds'). Remaining gaps like detailed error shapes beyond blocked are minor.

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 coverage is 100%, so the baseline is 3; the description still adds cross-parameter meaning the schema states only piecemeal, such as 'one running plot per handle', the 5-tick and 15m ceilings, reflection being carried as text and cleared on resume, and steer replacing the prior note. The gain over the schema is real but partly duplicative.

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 names a specific multi-op lifecycle tool and enumerates each operation (start, tick, yield, resume, steer, blocked) with its role, so an agent can identify what the tool does. It even isolates steer as 'the one op you may use on a plot you do not own.' It never distinguishes itself from siblings such as handoff or delegate, which keeps it short of a 5.

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?

Per-op usage is concrete: 'start needs nothing', tick/yield/resume need a sessionId, steer requires an active participant seat in the World holding the session, and 'Short jobs may skip Garden (claim then complete directly)' tells when not to use it. It stops short of naming sibling tools as explicit alternatives.

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.