Skip to main content
Glama

Get my image analysis

remene_get_analysis
Read-onlyIdempotent

The AI image analysis of one study as the patient sees it: the run, every assessed structure with its status and plain-language explanation, and the synthesis. Unreviewed AI output. run is null when the study has no analysis yet; payment_required when the study is not unlocked. A long analysis comes in pages of whole structures, never shortened, in the analysis’s own order: structureCount is how many structures it has, offset where this page starts, and while nextOffset is not null there are more, which you get by calling again with offset set to it. run comes on every page, synthesis only on the first page (offset 0, where null means the analysis has none). If a later page’s run.id is not the first page’s, the analysis changed in between: start again from offset 0.

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

Input Schema

NameRequiredDescriptionDefault
offsetNoWhere the page starts: 0, or the `nextOffset` of the previous page
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.7/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, non-destructive), and the description adds substantial context beyond them: the output is explicitly unreviewed AI content, `run` is null before any analysis exists, and `payment_required` signals a locked study. It also discloses pagination invariants (whole structures, never shortened, own order, `run` on every page, `synthesis` only at offset 0) and the concurrency signal via changing `run.id`.

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?

Front-loaded with the resource and its contents before the pagination rules, and every clause carries information an agent needs to page correctly. It is dense and runs long, but the length is driven by real return-shape semantics rather than filler; tighter grouping of the null/`payment_required` states would improve it slightly.

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 carries the full burden of return-value semantics, and it does: contents, null/empty states, pagination fields (`structureCount`, `offset`, `nextOffset`), per-page versus first-page fields, and the restart condition. Nothing essential to calling or interpreting this tool is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, yet the description adds genuine meaning: `offset` is defined operationally as either 0 or the previous page's `nextOffset`, and offset 0 is where `synthesis` appears (null meaning the analysis has none). It also clarifies that `structureCount` describes the full set, not the page.

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 ('The AI image analysis of one study as the patient sees it') and then enumerates the payload: the run, every assessed structure with status and plain-language explanation, and the synthesis. The phrase 'as the patient sees it' scopes it against clinician-facing siblings like remene_get_diagnostic_opinion without needing their names.

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

Usage Guidelines4/5

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

Gives concrete invocation guidance — call again with `offset` set to `nextOffset` while it is non-null, and restart from `offset` 0 if `run.id` changes between pages. It also tells the agent what null `run` and `payment_required` mean, i.e. when there is nothing to retrieve. It stops short of naming an alternative tool for the clinician view or for the report, so a small routing gap remains.

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