Skip to main content
Glama
sipyourdrink-ltd

Bernstein - Multi-agent orchestration

bernstein_scenario

Invoke a multi-agent orchestration scenario by ID to spawn parallel tasks for automated development workflows. Provide context, PR number, or branch as triggers.

Instructions

Invoke a Bernstein scenario by id, spawning one task per template.

    Args:
        scenario_id: Identifier from the scenario library
            (e.g. ``"pr-review-comprehensive"``).
        context: Free-form context (the trigger event summary, for
            example) appended to each task's description.
        pr_number: PR number to inject when triggered by GitHub.
        branch: Branch override.

    Returns:
        JSON with ``orchestration_id``, ``scenario_id``, ``task_count``,
        ``estimated_minutes`` and ``task_ids``.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scenario_idYes
contextNo
pr_numberNo
branchNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It mentions spawning tasks and returns JSON, but does not discuss side effects, authorization needs, rate limits, or reversibility.

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 front-loaded with a clear one-line purpose followed by structured Args and Returns. It is concise but could be slightly shorter without the docstring formatting.

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 complexity (4 parameters, no schema descriptions, no annotations), the description covers parameter semantics and return format well. It lacks usage context and behavioral details, but for an invocation tool, this is mostly adequate.

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

Parameters5/5

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

With 0% schema description coverage, the description fully compensates by explaining each parameter: scenario_id with example, context as free-form text appended to tasks, pr_number for GitHub triggers, branch override. This adds meaning beyond the raw schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Invoke') and resource ('Bernstein scenario'), clearly stating the action: spawning one task per template. It is distinct from sibling tools like bernstein_run or bernstein_scenario_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?

No guidance on when to use this tool versus alternatives like bernstein_run or bernstein_scenario_status. The description implies usage for triggering scenarios, but does not exclude other cases or provide context.

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/sipyourdrink-ltd/bernstein'

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