Skip to main content
Glama

mrphys_codesign_safe_sequence

Runs a closed-loop MR sequence and safety co-design agent with an independent Critic-Verifier gate for preset or custom high-risk clinical scenarios.

Instructions

Run the closed-loop MR sequence & safety co-design agent with independent Critic-Verifier gate on a preset or custom high-risk clinical scenario.

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": "mrphys_codesign_safe_sequence"
  }
}

Input Schema

NameRequiredDescriptionDefault
presetNoprostate_srs_hip_gas
custom_scenarioNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does disclose that the run is 'closed-loop' and gated by an 'independent Critic-Verifier', which is meaningful context beyond structured data, but it says nothing about runtime cost, determinism, whether the run is advisory or authoritative, or what a failed gate means for the caller.

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?

A single dense sentence that front-loads the action and its key qualifier, with no filler or repetition. It is efficient, though the heavy noun stacking ('closed-loop MR sequence & safety co-design agent with independent Critic-Verifier gate') costs a little immediate readability.

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

Completeness2/5

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

This is a complex orchestrating tool with a nested free-form object parameter, no annotations, and no output schema, yet the description is one sentence. It omits the custom_scenario contract, expected runtime, and any indication of what the agent returns, which is a significant gap for an agent deciding whether and how to call it.

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 does partially by mapping the two inputs to plain language: a 'preset' path and a 'custom' high-risk clinical scenario. However, it never explains what the enum values (prostate_srs_hip_gas, pacemaker_cardiac_brain) represent, what fields the nested custom_scenario object expects, or what happens when both are supplied.

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 gives a specific verb ('Run') and a specific resource ('closed-loop MR sequence & safety co-design agent'), plus the distinguishing detail of an 'independent Critic-Verifier gate' that separates it from the verify_* and audit_* siblings. It never names a sibling to differentiate against, but the purpose is unambiguous enough for an agent to select it.

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 phrase 'high-risk clinical scenario' implies the context in which this tool applies, but there is no explicit when-to-use versus when-to-use-a-sibling guidance, no prerequisites, and no note on whether this replaces or complements tools like mrphys_verify_implant_csp or mrphys_audit_sct_and_ere. Usage must be inferred.

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