Skip to main content
Glama
Bernstein - Multi-agent orchestration

Bernstein - Multi-agent orchestration

bernstein_status

Retrieve liveness, task counts, and cost in one read-only call. Filter by task status or request detail for full per-role and per-task rows.

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.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "bernstein_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
detailNo
statusNo

Output Schema

NameRequiredDescriptionDefault
_meterYes
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv4.0.0
    • changedOutput schema / properties / result / anyOf
      Previous 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"
      -  }
      -]New 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"
      +      },
      +      "readiness": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "coordinator": {
      +            "properties": {
      +              "observed_at": {
      +                "format": "date-time",
      +                "type": "string"
      +              },
      +              "source": {
      +                "const": "task_server_status"
      +              },
      +              "state": {
      +                "enum": [
      +                  "ready",
      +                  "blocked",
      +                  "unknown"
      +                ]
      +              },
      +              "version": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "state",
      +              "source",
      +              "version",
      +              "observed_at"
      +            ],
      +            "type": "object"
      +          },
      +          "dispatch": {
      +            "properties": {
      +              "state": {
      +                "enum": [
      +                  "ready",
      +                  "blocked",
      +                  "unknown"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "state"
      +            ],
      +            "type": "object"
      +          },
      +          "scheduler": {
      +            "properties": {
      +              "state": {
      +                "enum": [
      +                  "ready",
      +                  "blocked",
      +                  "unknown"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "state"
      +            ],
      +            "type": "object"
      +          },
      +          "schema_version": {
      +            "const": 1
      +          },
      +          "state": {
      +            "enum": [
      +              "ready",
      +              "blocked",
      +              "unknown"
      +            ]
      +          },
      +          "transport": {
      +            "properties": {
      +              "observed_at": {
      +                "format": "date-time",
      +                "type": "string"
      +              },
      +              "source": {
      +                "const": "mcp_bridge"
      +              },
      +              "state": {
      +                "enum": [
      +                  "ready",
      +                  "blocked",
      +                  "unknown"
      +                ]
      +              },
      +              "version": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "state",
      +              "source",
      +              "version",
      +              "observed_at"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "schema_version",
      +          "state",
      +          "transport",
      +          "coordinator",
      +          "scheduler",
      +          "dispatch"
      +        ],
      +        "type": "object"
      +      },
      +      "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"
      +  }
      +]
  2. 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."
  3. 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"
  4. Addedv2.7.0
  5. Removedv2.6.0
  6. Addedv2.2.0
  7. Removedv2.1.0
  8. Addedv1.10.8
  9. Removedv1.10.7
  10. First observedv0.1.0

TDQS

A3.8/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 burden and does so reasonably: it states the tool is read-only ('without changing it') and discloses the host side effect ('makes network requests'), which is exactly the kind of trait an agent needs before calling. It does not cover cost of the call or any rate/latency considerations, so it falls short of the top mark.

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?

Four short sentences, each doing distinct work, with the core capability front-loaded and parameter guidance immediately after. There is no redundant restatement of the name and no filler.

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?

The tool is simple (two optional params, an output schema exists so return shapes need not be explained), and the description covers read-only behavior, host effects, and both parameters. The remaining gap is that omission defaults and the boundary with bernstein_run_status are unstated, which matters for an aggregate status tool but is a modest omission.

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 partially does by explaining both parameters: status gates inclusion of matching tasks and detail expands to per-role and per-task rows. It never states the default behavior when either is omitted (e.g. whether counts-only is returned), which is the most consequential unknown for two optional params.

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 concrete resource and payload: 'Liveness, task counts, and cost in one read.' That tells an agent this is an aggregate status read rather than a single-run query or a mutation. It stops short of explicitly distinguishing it from siblings such as bernstein_run_status, leaving the agent to infer the aggregate-vs-per-run split.

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?

Usage is described only in terms of parameters ('Pass status to include the matching tasks; pass detail=true for full per-role and per-task rows'), which is conditional guidance but not when-to-use-rather-than-alternatives guidance. No explicit exclusion or routing to bernstein_run_status or the action tools is given. An agent can infer the intended context but must do the work itself.

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