Skip to main content
Glama
songzhifei512

multi-agent-bridge

task_decide

Submit a decision to resolve an escalated task, returning it to running so the worker can continue. Only works on escalating tasks and records the decider for audit.

Instructions

决策下浮()队长/用户在任务 escalating 时下发裁决:写 escalation.decision + decider + decided_at,任务回 running(worker 续跑)。仅对 escalating 态生效;幂等——已决策任务再 decide 拒绝。记录 decider 供审计。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
choiceYes用户/队长选定的方案或裁决文本
deciderNo裁决者标识(如 'user-alice' / 'captain'),默认 'captain-for-user'
task_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations provided, the description fully covers behavioral details: it writes escalation.decision, decider, and decided_at, transitions the task to 'running', only affects escalating tasks, is idempotent, and logs the decider for audit. This is strong disclosure beyond the schema.

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 a single dense sentence that front-loads the core purpose, then packs in state constraints, side effects, idempotency, and audit behavior. Every clause carries useful information with minimal waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 3-parameter tool with no annotations and no output schema, the description provides enough context: the exact state transition, preconditions, idempotency, and audit trail. An agent can correctly decide when to call this tool and what effect to expect.

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 coverage is 67%, with 'choice' and 'decider' already described in the schema. The description adds the audit purpose of 'decider' and the state transition, but does not significantly enrich parameter semantics for task_id beyond what the schema implies.

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 clearly states the tool's action: issuing a decision for an escalating task, writing decision fields, and returning the task to 'running'. It distinguishes itself from siblings like task_escalate by focusing on resolving escalation rather than creating it.

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 description explicitly limits usage to the escalating state and notes that already-decided tasks are rejected. It does not name alternative sibling tools, but the state condition and idempotency rule provide clear guidance on when the tool applies and when it does not.

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