Skip to main content
Glama

Add my radiologist's report

remene_add_report
Destructive

Adds the radiologist’s written report to a ready, unlocked study, so Remene transcribes it and explains every line in the patient’s language. Before adding, check with the patient that the report is for this MRI: the same body area, side and examination month that remene_get_study shows. When the study already has a report, tell the patient first that the new one will replace it for the explanation, the chat and the consultation preparation; the answer’s replacesReport is true when the study had an active report at the time of the call. source: "text" takes the report’s text exactly as the patient pasted or typed it, or a text file’s content verbatim: never your own transcription or summary of a photo or PDF. For a PDF (one file) or photographed pages (up to 6 JPEG or PNG files), pass source: "pdf" or "photo" with files, PUT each file to its url with the returned headers, then call remene_complete_report_upload. If you cannot read the patient’s files, give them links.addReport from remene_get_study instead. conflict with reason: report_processing means a report is already being read, or one opened with files is still waiting for its upload (remene_get_study shows its report as uploading): if you opened it and have PUT every file, finish it with remene_complete_report_upload; if not (the patient may be uploading it in the browser), wait, since an upload left unfinished is closed an hour after it was opened. conflict with reason: ai_running means another AI run for this study (for example its analysis) is still in progress: try again once it has finished (remene_get_study shows it). conflict with reason: study_not_ready means the study’s images are not ready: still being prepared, or their preparation failed (remene_get_study’s status says which). invalid_input means text or files does not match source, or the files break the limits (one PDF, or up to 6 JPEG or PNG pages numbered from 1). consent_required means the patient has to agree to the current data-processing terms in their browser first: give them url, which brings them back to this study’s report page. feature_unavailable means reading reports is not available right now. payment_required means the study is not unlocked.

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>",
      "source": "<source>"
    },
    "name": "remene_add_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoThe report’s text, for source "text": at most 20000 characters once leading and trailing blank space is trimmed
filesNoThe files, for source "pdf" or "photo"
sourceYes
studyIdYesThe study id, as listed by remene_list_studies

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare destructiveHint=true, readOnlyHint=false and idempotentHint=false; the description goes far beyond by disclosing that an active report is silently replaced for explanation, chat and consultation prep (surfaced as `replacesReport`), that incomplete uploads expire an hour after opening, that consent and study unlock gate the call, and by decoding every conflict reason. No contradiction with the destructive annotation — it explains it.

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 core action and the patient-verification step are front-loaded, and essentially every sentence carries operational information (error decoding, upload lifecycle, fallbacks). It is, however, one extremely dense paragraph where the conflict/error taxonomy would be easier to scan as a list.

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?

A non-idempotent, destructive mutation with no output schema and many failure modes; the description covers the replacement semantics, the upload handshake with a sibling tool, expiry timing, consent/payment/feature gates, and all four error branches. An agent has enough to call it correctly and recover from failures.

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?

With 75% schema coverage the schema already carries most field docs, but the description adds real meaning: `source: "text"` must be the patient's own verbatim text, never an AI transcription of a photo/PDF, and `pdf`/`photo` require the files-plus-PUT-plus-complete sequence. File limits (one PDF, up to 6 JPEG/PNG pages numbered from 1) and the text/files-vs-source mismatch as `invalid_input` also add value, though the studyId readiness constraints are only implied.

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?

States a specific verb and resource ('Adds the radiologist's written report to a ready, unlocked study') plus the downstream effect ('Remene transcribes it and explains every line'). This distinguishes it from remene_get_report (read) and remene_complete_report_upload (finish an upload) without opening their schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit prerequisites ('check with the patient that the report is for this MRI: the same body area, side and examination month that remene_get_study shows') and names alternatives by condition: hand the patient `links.addReport` from remene_get_study when files can't be read, and call remene_complete_report_upload after the PUTs. When-not guidance is equally explicit via the conflict branches.

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