Skip to main content
Glama
Bernstein - Multi-agent orchestration

Bernstein - Multi-agent orchestration

bernstein_task_capsule

Read a task capsule with its local journal and audit evidence; set verify=true to validate evidence and create a missing install audit key.

Instructions

Read a task capsule together with its local journal and audit evidence. With verify=true, verification may create the install audit key if it is absent. Host effects: reads files; writes files.

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": {
      "task_id": "<task_id>"
    },
    "name": "bernstein_task_capsule"
  }
}

Input Schema

NameRequiredDescriptionDefault
verifyNo
task_idYes
workdirNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv4.0.3
    • addedInput schema / properties / task_id / not
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        ".",
      +        ".."
      +      ]
      +    },
      +    {
      +      "pattern": "[\\x00-\\x1f]"
      +    }
      +  ]
      +}
  2. Changed1 schema field changedv3.15.0
    • addedInput schema / description
      Added value: +"Read a task capsule together with its local journal and audit evidence. With verify=true, verification may create the install audit key if it is absent. Host effects: reads files; writes files."
  3. Addedv3.11.0

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose host effects explicitly: “reads files; writes files,” plus the specific conditional side effect that verify=true may create the install audit key if absent. This is exactly the kind of state-mutating detail an agent needs before calling a nominally “read” tool; it stops short of describing permissions or errors, keeping it at 4 rather than 5.

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?

Three short sentences, front-loaded with purpose, followed by the conditional side effect and the host-effect summary, with no filler. The fragment-style “Host effects: reads files; writes files” is terse but efficient rather than padded.

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 3-parameter tool with no annotations and a present output schema, the description covers purpose and the risky write path adequately, and return-value detail is correctly left to the output schema. It remains incomplete on the two unannotated parameters (task_id, workdir), which the 0% schema coverage leaves undocumented anywhere.

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 description coverage is 0%, so the description must compensate, and it only partially does: verify gains real meaning (its truthy path materializes an audit key), which is not derivable from a bare boolean schema. task_id and workdir receive no explanation at all — nothing about how a task ID is obtained, or what workdir is relative to or defaults to.

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?

Uses a specific verb+resource pair: “Read a task capsule together with its local journal and audit evidence,” which tells an agent exactly what artifact is returned. It does not differentiate against siblings such as bernstein_status or bernstein_run_status, so an agent must infer that a “task capsule” is a different object than run status.

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

Usage Guidelines2/5

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

There is no statement of when to call this versus bernstein_status or the other read siblings, and no prerequisites or exclusions. The only conditional hint is “With verify=true,” which explains a parameter effect rather than when the tool itself applies.

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