Skip to main content
Glama
chernistry

Bernstein - Multi-agent orchestration

bernstein_cost

Calculate total USD spent and per-role cost breakdown for multi-agent orchestration workflows in software development automation.

Instructions

Return cost summary (total USD spent and per-role breakdown).

    Returns:
        JSON with total_cost_usd and per-role cost breakdown.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
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 discloses that the tool returns a JSON with specific fields (total_cost_usd and per-role breakdown), which is useful behavioral context. However, it lacks details on potential side effects, error conditions, or performance characteristics (e.g., rate limits, data freshness), leaving gaps for a tool that presumably accesses financial data.

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?

The description is concise and well-structured, with the purpose stated upfront in a single sentence and a clear 'Returns:' section. There's no wasted text, but the formatting with indentation and line breaks could be slightly cleaner for direct parsing.

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?

Given the tool has no input parameters, an output schema exists, and no annotations are provided, the description is moderately complete. It explains what the tool does and the return format, but lacks context on usage scenarios, error handling, or data sources, which could be important for a cost-related tool in a workflow with siblings like 'bernstein_approve' or 'bernstein_run'.

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?

The tool has 0 parameters, and schema description coverage is 100%, so there are no parameters to document. The description doesn't need to add parameter semantics, but it does mention the return structure, which aligns with the output schema. This meets the baseline for a parameterless tool, though it doesn't go beyond what's implied by the output 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 clearly states the tool's purpose: 'Return cost summary (total USD spent and per-role breakdown).' It specifies the verb ('Return') and resource ('cost summary') with concrete details about what the summary includes. However, it doesn't explicitly differentiate this from sibling tools like 'bernstein_status' or 'bernstein_health' that might also provide financial or operational metrics.

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?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, timing, or comparisons to sibling tools such as 'bernstein_status' or 'bernstein_tasks', leaving the agent with no context for selection among related tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chernistry/bernstein'

If you have feedback or need assistance with the MCP directory API, please join our Discord server