Skip to main content
Glama
rt-imaging-mcp

rt-imaging-mcp

by MLwithDyy

Summarise an RT plan

rt_plan_summary
Read-onlyIdempotent

Summarize an RTPLAN file from a relative path into intent, approval status, fractions, per-beam dose/meterset details, and prescription doses while omitting identifying free text.

Instructions

Summarise an RTPLAN file (path relative to the root).

Returns intent, approval status, fractions, one entry per beam (type, radiation, energy, angles, dose and meterset) and prescription doses. Plan, beam and machine names and other free text are never returned.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "rt_plan_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile needs no restating. The description does add one genuinely valuable behavior beyond that: plan, beam and machine names and other free text are never returned, i.e. output is de-identified. It does not say what happens on an invalid or missing path.

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 purpose and addressing rule are front-loaded in the first sentence, followed by a compact enumeration of return fields and the privacy constraint. Every sentence carries information; only the lengthy inline field list is slightly over-specified given an output schema exists.

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?

Safety is covered by annotations and return shape by the output schema, so the description only needs to bridge the gap on the path parameter and failure modes. It half-does that: relative addressing is stated, but the meaning of "root" and error behavior on a bad path are missing.

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 0%, but there is only one parameter, so the burden is small. The parenthetical "path relative to the root" adds real meaning beyond the schema's bare "Path" string by specifying a relative addressing scheme, yet it never defines what "the root" is or whether the path must point at a file with a particular extension.

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 opens with a specific verb and resource ("Summarise an RTPLAN file") and enumerates the returned content (intent, approval status, fractions, per-beam entries, prescription doses). That is enough to separate it from rt_dose_summary and rt_structure_summary by file type, though those alternatives are never named explicitly.

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?

There is no when-to-use or when-not-to-use guidance and no named alternative. The agent must infer from the word "RTPLAN" that this applies to plan files rather than dose or structure files, and nothing states prerequisites such as having a scanned/known DICOM root.

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