Skip to main content
Glama

Show one MRI image with its marked regions

remene_view_slice
Read-onlyIdempotent

One slice of a series as an image (PNG, or JPEG for an unusually large slice), at its native size with the long edge capped at 1568 px. With annotations (the default) every region the analysis and the second opinion point to on this slice is drawn and numbered: the analysis’s as a solid amber outline (#f5b400), as the viewer draws it, then the second opinion’s, every one it cites on this slice, as a dashed ochre outline (#c9860f) in its card’s style. marks says what each number is and whose region it is (source), and unmarked lists what points to this slice without a drawn box: a citation without a region. source: "opinion" items come from the second opinion the patient asked for, an AI opinion not reviewed by a doctor: opinionLabel is the label it is shown under, to repeat whenever you use them. The regions come only with an unlocked study: regionsWithheld: true means the study is locked, so marks and unmarked are empty whether or not there are regions on this slice. burnedIn: true means the pixels may show text such as the patient’s name. A sliceIndex past the last answers invalid_input with sliceCount.

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": {
      "studyId": "<studyId>",
      "seriesKey": "<seriesKey>",
      "sliceIndex": "<sliceIndex>"
    },
    "name": "remene_view_slice"
  }
}

Input Schema

NameRequiredDescriptionDefault
studyIdYesThe study id, as listed by remene_list_studies
seriesKeyYesThe series key, as remene_get_study lists it
sliceIndexYesThe slice, counting from 0, as remene_get_series lists it
annotationsNoDraw the numbered regions pointing to this slice

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, yet the description adds substantial behavior beyond them: PNG with JPEG fallback for unusually large slices, the pixel cap, the exact outline styles and colors for analysis versus second-opinion regions, and the locked-study path where `regionsWithheld: true` empties `marks` and `unmarked`. It also warns that `burnedIn: true` may expose patient name text and that an out-of-range `sliceIndex` returns `invalid_input` with `sliceCount`.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Everything present is substantive, but it is delivered as a single dense paragraph mixing image sizing, region styling, output field semantics, licensing caveats, and error behavior. Critical safety information (burnedIn PHI warning) and the locked-study caveat are buried mid-paragraph rather than front-loaded or separated.

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?

There is no output schema, so the description must explain the return payload, and it does thoroughly: `marks` with `source` and `opinionLabel`, `unmarked` for citations lacking a drawn region, `regionsWithheld` for locked studies, `burnedIn`, and the `invalid_input`/`sliceCount` error path. An agent can interpret the response and handle the failure case without further documentation.

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 100%, so the baseline is 3, but the description adds real meaning: it clarifies that `annotations` is on by default and exactly what it draws, and it documents the failure semantics of `sliceIndex` beyond the bare numeric range in the schema. The provenance hints for studyId and seriesKey merely echo the schema.

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: one slice of a series rendered as an image, at native size with the long edge capped at 1568 px, with numbered regions drawn. The 'one slice' framing implicitly differentiates it from the series-level sibling, but no sibling is named, so the agent must infer that distinction from names alone.

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?

Guidance is mostly about parameter behavior rather than tool selection: it explains that `annotations` defaults to true and what turning it on yields, and it sets an expectation for out-of-range `sliceIndex`. There is no explicit statement of when to call this versus remene_view_series or remene_get_series, and no exclusions, so usage is implied rather than prescribed.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources