Skip to main content
Glama
sipyourdrink-ltd

Bernstein - Multi-agent orchestration

bernstein_status

Check agent orchestration health, task counts, and cost in one request. Filter by status or request full per-role and per-task details without modifying server state.

Instructions

Liveness, task counts, and cost in one read. Pass status to include the matching tasks; pass detail=true for full per-role and per-task rows. Retrieves data from the Bernstein server without changing it. Host effects: makes network requests.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
detailNo
statusNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
_meterYes
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.15.0
    • changedInput schema / description
      Previous value: -"Liveness, task counts, and cost in one read. Pass status to include the matching tasks; pass detail=true for full per-role and per-task rows."New value: +"Liveness, task counts, and cost in one read. Pass status to include the matching tasks; pass detail=true for full per-role and per-task rows. Retrieves data from the Bernstein server without changing it. Host effects: makes network requests."
  2. Changed13 schema fields changedv3.11.0
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / description
      Added value: +"Liveness, task counts, and cost in one read. Pass status to include the matching tasks; pass detail=true for full per-role and per-task rows."
    • addedInput schema / properties / detail
      Added value: +{
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / status
      Added value: +{
      +  "enum": [
      +    null,
      +    "open",
      +    "claimed",
      +    "in_progress",
      +    "done",
      +    "failed",
      +    "blocked",
      +    "cancelled"
      +  ],
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedInput schema / title
      Previous value: -"bernstein_statusArguments"New value: +"bernstein_status"
    • addedOutput schema / additionalProperties
      Added value: +false
    • addedOutput schema / properties / _meter
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "call_id": {
      +      "type": "string"
      +    },
      +    "cost_usd": {
      +      "type": "number"
      +    },
      +    "error": {
      +      "type": "string"
      +    },
      +    "latency_ms": {
      +      "type": "number"
      +    },
      +    "ok": {
      +      "type": "boolean"
      +    },
      +    "tool": {
      +      "type": "string"
      +    },
      +    "ts": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "tool",
      +    "call_id",
      +    "latency_ms",
      +    "cost_usd",
      +    "ok",
      +    "ts"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / result / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "cost": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "per_role": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "cost_usd": {
      +                  "type": "number"
      +                },
      +                "role": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "role",
      +                "cost_usd"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "total_cost_usd": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "total_cost_usd",
      +          "per_role"
      +        ],
      +        "type": "object"
      +      },
      +      "counts": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "claimed": {
      +            "type": "integer"
      +          },
      +          "done": {
      +            "type": "integer"
      +          },
      +          "failed": {
      +            "type": "integer"
      +          },
      +          "open": {
      +            "type": "integer"
      +          },
      +          "total": {
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "total",
      +          "open",
      +          "claimed",
      +          "done",
      +          "failed"
      +        ],
      +        "type": "object"
      +      },
      +      "live": {
      +        "type": "boolean"
      +      },
      +      "per_role": {
      +        "items": {
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "status_filter": {
      +        "type": "string"
      +      },
      +      "tasks": {
      +        "items": {
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "live",
      +      "counts",
      +      "cost"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "type": "string"
      +      },
      +      "hint": {
      +        "type": "string"
      +      },
      +      "live": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "live",
      +      "error",
      +      "hint"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "error": {
      +        "type": "string"
      +      },
      +      "hint": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties / result / title
      Removed value: -"Result"
    • removedOutput schema / properties / result / type
      Removed value: -"string"
    • changedOutput schema / required
      Previous value: -[
      -  "result"
      -]New value: +[
      +  "result",
      +  "_meter"
      +]
    • removedOutput schema / title
      Removed value: -"bernstein_statusOutput"
  3. Addedv2.7.0
  4. Removedv2.6.0
  5. Addedv2.2.0
  6. Removedv2.1.0
  7. Addedv1.10.8
  8. Removedv1.10.7
  9. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are provided, so the description must carry the transparency burden. It explicitly states 'Retrieves data from the Bernstein server without changing it' and 'Host effects: makes network requests,' which discloses read-only behavior and side effects. This adds useful context beyond the schema, though it does not cover details like permissions or error cases.

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 description is two sentences, front-loaded with the core purpose ('Liveness, task counts, and cost in one read') and followed by parameter guidance and behavioral notes. Every sentence adds value, and there is no wasted text.

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?

Given the tool has an output schema, return values are already covered. The description sufficiently covers the purpose, parameters, and read-only nature, making it complete for a status tool. Minor gaps exist in not fully explaining what 'liveness' entails, but overall it is well-rounded.

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 0%, but the description compensates by explaining both parameters: 'Pass status to include the matching tasks' and 'pass detail=true for full per-role and per-task rows.' This adds meaningful semantics beyond the bare enum and boolean in the schema, clarifying their purpose and defaults.

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 clearly identifies the tool as a read-only status endpoint for liveness, task counts, and cost. It uses specific nouns and implies a resource, but it does not explicitly differentiate from the sibling tool bernstein_run_status, so it meets 'clear' but lacks direct sibling differentiation.

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 provides usage guidance for parameters (pass status to filter tasks, detail=true for full rows) but does not state when to choose this tool over alternatives like bernstein_run_status. There is no explicit 'use this for server-level status' or mention of exclusions, so it is implied rather than explicit.

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