Skip to main content
Glama

Get my AI second opinion

remene_get_diagnostic_opinion
Read-onlyIdempotent

The explicitly requested second opinion for one study, an AI opinion not reviewed by a doctor: run.label is the label it is shown under, to repeat whenever you use it. It compares the radiologist’s report with the key images and returns its status; run.verdict, the headline answer to whether the images and the report say the same thing (key: yes, mostlyYes, notEntirely, onlyPartly, or cannotSay when no line matches and none differs), with its counts (unknown, the lines settled neither way, is notVisible, lines these images can neither confirm nor refute, plus couldNotAssess, lines that could not be compared this time, which says nothing about what the images show there; withheld: points it found but did not show, which the summary and the limitations say); run.reportCoverage, every line of the report with its verdict (agrees, differs, not-visible, not-image for a line that does not describe the images, could-not-assess; older runs may say not-examined) and the reading behind it; and claims, the points worth discussing with the doctor, each with its title, what the images show (statement) beside what the report says (sourceQuote, null for something the report does not mention), why it may matter, the question to ask and its evidence. Each piece of evidence names a series and a slice: look at it with remene_view_slice (seriesKey, sliceIndex). Also the summary, the limitations and what the patient told the AI for it: context (the six answers given when requesting it, null where left empty) and followUps (the follow-up questions the earlier version of the second opinion asked during a run, with the answers or skips; a batch that expired or was cancelled before the patient saw it is listed with that status; always empty for a run of the current version, which asks nothing during the run). context and followUps are present when an opinion run exists: a study without an opinion answers { run: null, claims: [] }. A long report’s run.reportCoverage comes in pages of whole lines, never shortened, with everything else repeated on every page: lineCount is how many lines 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. feature_unavailable when the second opinion is not available right now; payment_required when 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>"
    },
    "name": "remene_get_diagnostic_opinion"
  }
}

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/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), yet the description adds substantial context beyond them: pagination semantics (lineCount/offset/nextOffset loop), the null-run shape ({run: null, claims: []}), and the two named failure modes. These are behavioral facts an agent cannot get from the structured fields.

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?

The purpose is front-loaded and most sentences carry real information about the return shape, but the description is a single dense ~350-word block of backticked field names and semicolons. It is comprehensive rather than concise, and the density makes it harder to scan than a shorter, segmented version would be.

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?

With no output schema, the description must carry the full return contract, and it does: verdict keys, coverage verdicts, claims structure, withheld/unknown semantics, context/followUps, pagination, and error codes. For a read tool of this complexity, an agent has enough to call it and interpret the response correctly.

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. The description goes further by explaining the paging loop in prose ('while nextOffset is not null there are more, which you get by calling again with offset set to it'), which clarifies how the offset parameter should actually be driven even though the schema already documents it.

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 opening states a specific resource and scope: 'The explicitly requested second opinion for one study, an AI opinion not reviewed by a doctor.' That distinguishes it from a plain report fetch. However, it never explicitly contrasts with the sibling retrieval tools (e.g. remene_get_analysis), so sibling differentiation is only implied.

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 by 'explicitly requested' and by the error codes ('feature_unavailable', 'payment_required'), which signal when the call will fail. But there is no explicit when-to-use/when-not statement and no named alternative for retrieving other study artifacts, leaving the agent to infer routing.

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