Skip to main content
Glama

orch_record

Record orchestrator actions before execution to enforce rate caps transactionally and settle pending offers; denied actions halt the workstream without retry.

Instructions

Record an Orchestrator action BEFORE acting so hard rate caps (3 lanes/ws, 10 lanes/day, 1 restart/day) are enforced transactionally. Settles pending offers; kind='denied' settles all offers for that workstream and halts without retrying.

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": {
      "kind": "<kind>",
      "workstream": "<workstream>",
      "text": "<text>"
    },
    "name": "orch_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsNoRequired for kind='push' (item ids) and kind='nudge' (lane ids).
kindYesAction kind.
textYesSingle-line summary of the action (<= 200 chars).
workstreamYesTarget workstream name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and discloses important traits: transactional cap enforcement, concrete limits, settlement of pending offers, and the no-retry halt for kind='denied'. It does not cover authentication needs, return behavior, or error-handling details, but it provides substantial operational context.

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?

The definition is two dense sentences with no wasted wording. The core instruction and rate-cap rationale are front-loaded, followed by the important special case for kind='denied'.

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-parameter tool with full schema coverage and no annotations, the description provides the key timing, rate-limit, and denied-action semantics. It is somewhat less complete on the semantics of the other action kinds and on what the recording call returns, but the schema supplies substantial parameter detail.

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 coverage is 100%, so all four parameters already have structured descriptions, including ids requirements and the kind enum. The description adds meaning specifically for kind='denied' by explaining that it settles all offers for the workstream and halts without retrying, but it does not elaborate on the other action kinds.

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 states a specific verb and resource: record an Orchestrator action before acting, with transactional rate-cap enforcement. It is clear what the tool does, but it does not explicitly differentiate itself from sibling tools such as orch_check or orch_digest.

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 timing instruction is explicit: record the action BEFORE acting so rate caps are enforced transactionally. It also explains the special handling for kind='denied'. It does not name alternatives or say when not to use this tool, but the usage context is otherwise clear.

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