Skip to main content
Glama
rt-imaging-mcp

rt-imaging-mcp

by MLwithDyy

Summarise an RT dose grid

rt_dose_summary
Read-onlyIdempotent

Summarizes an RTDOSE file by returning dose type and units, grid and voxel size, and whole-grid dose statistics such as maximum, mean, and non-zero voxel count.

Instructions

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

Returns dose type and units, grid size, voxel size and whole-grid dose statistics (maximum, mean, non-zero voxel count). No dose array, grid position or identifiers.

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_dose_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuine behavioral value beyond that by bounding the output — explicitly no dose array, no grid position, no identifiers — which prevents an agent from expecting a full dataset back.

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?

Two short sentences, zero filler, with the core action stated first and the output boundary second. Every clause carries information.

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?

An output schema exists, so the return-value enumeration is somewhat redundant, but the explicit exclusions and the path-format constraint make the definition self-sufficient for a one-parameter read-only summariser. Nothing an agent needs to invoke it correctly is missing.

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?

Schema coverage is 0% and the single parameter is documented only as "Path" (string). The description compensates by specifying the path is relative to the root, which is the one semantic detail an agent needs to form a valid argument.

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?

States a specific verb and resource ("Summarise an RTDOSE file") and enumerates the returned content (dose type/units, grid size, voxel size, statistics), so the agent knows exactly what this produces. It does not name the sibling it differs from (e.g. rt_dvh_metrics vs rt_plan_summary), leaving the RT-family disambiguation to the agent.

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?

Usage is implied rather than stated: an agent infers 'call this to get a quick overview of a dose file.' The line "No dose array, grid position or identifiers" usefully signals what this tool will NOT give you, but no alternative tool is named for when those things are needed.

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