Skip to main content
Glama
Bernstein - Multi-agent orchestration

Bernstein - Multi-agent orchestration

bernstein_complete

Report a task result only from a worker-held state (open, claimed, or in_progress) to complete it on the Bernstein server; other statuses are refused.

Instructions

Report a task result only from a worker-held state: open, claimed, or in_progress; every other status is refused. This completes the task on the Bernstein server. Host effects: makes network requests.

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>",
      "result_summary": "<result_summary>"
    },
    "name": "bernstein_complete"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYes
result_summaryYes

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: +"Report a task result only from a worker-held state: open, claimed, or in_progress; every other status is refused. This completes the task on the Bernstein server. Host effects: makes network requests."
  3. Addedv3.11.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose useful behavior: state gating with a hard refusal path and the fact that host network requests are made. It does not cover whether the caller must be the claimer, whether completion is idempotent or how repeated calls behave, or what happens to result_summary after completion.

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 the state precondition, then the action, then host effects. No filler, though the phrase 'This completes the task on the Bernstein server' partly restates the state sentence and could be tightened.

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?

An output schema exists, so return values need not be explained, and the description covers the key precondition and network side effect. For a mutation tool with zero annotation coverage it still leaves gaps around authorization/identity, idempotency, and error behavior beyond the state refusal.

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

Parameters2/5

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

Schema description coverage is 0% and the schema only supplies type and length constraints for task_id and result_summary. The description says nothing about which task_id to supply (must it be one the worker holds?) or what result_summary should contain, so it adds no meaning beyond the raw schema.

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 action and resource: it reports a task result and completes the task on the Bernstein server. Combined with the name bernstein_complete and the mention of worker-held states, an agent can distinguish it from bernstein_cancel or bernstein_claim without opening the schema. It stops short of explicitly contrasting itself with any named sibling.

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 definition gives a concrete precondition for calling: the task must be in open, claimed, or in_progress state, and it explicitly states that every other status is refused, which functions as a when-not rule. It never names an alternative tool (e.g. cancel or approve) for the refused cases, so the routing guidance is incomplete rather than exhaustive.

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