Skip to main content
Glama

Describe a batch

describe_session

Records a session's title, note, objective, shared acceptance commands, and approval state so workers follow consistent rules; set waiting_user to block dispatch, resume, and landing until approved.

Instructions

Record what a session is for and the rules its workers share: a title and note, an objective, acceptance commands added to every worker of the session, and an approval state. waiting_user stops dispatch, resume and landing in the session until it is approved again.

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": {
      "session_id": "<session_id>"
    },
    "name": "describe_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNo
titleNo
objectiveNo
session_idYes
approval_stateNo
expected_revisionNoRefuse the change if the session policy moved past this revision
default_acceptanceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does disclose the important gating behavior that waiting_user blocks dispatch, resume and landing until approved again. It stays silent on what happens to fields not supplied (merge vs replace), on how the acceptance list propagates to existing versus future workers, and on any permission requirements for changing approval state.

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?

Two sentences, front-loaded with what gets recorded, followed by the one behavioral caveat that matters. Nothing is redundant, though the field enumeration reads as a flat list rather than being ordered by importance.

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

Completeness3/5

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

For a seven-parameter mutation tool with no annotations, no output schema and near-zero schema descriptions, the definition covers the intent of most fields but omits update semantics (partial versus full replacement), conflict handling for expected_revision, and what a successful call returns. Adequate to attempt a call, not sufficient to call it safely in edge cases.

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 only 14%, so the description must compensate, and it does for most fields: it explains that default_acceptance is a set of acceptance commands applied to every worker of the session, and that approval_state controls gating. Remaining gaps are the string-vs-object shape of acceptance entries, the role of session_id, and the revision-conflict semantics of expected_revision, which only the schema documents.

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 verb 'Record' plus the enumerated policy fields (title, note, objective, default acceptance, approval state) makes the operation concrete, and it is distinguishable from the worker lifecycle siblings. The only drag is the name/title mismatch — 'describe_session' and 'Describe a batch' suggest a read of a session or a batch, while the body clearly describes a write of session policy.

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

Usage Guidelines3/5

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

The description implies when the tool matters by explaining that waiting_user halts dispatch, resume and landing until re-approval, which is a real usage cue. It never states when to call this versus alternatives (e.g. create_worker or resume_worker), nor any prerequisite or ordering advice.

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