Skip to main content
Glama

Get my chat about a study

remene_get_chat
Read-onlyIdempotent

The patient’s conversation with Remene’s AI about one study, oldest first: each message’s role, text and time, the sources an answer rests on, and any question it proposed for the doctor with whether the patient saved it. Unreviewed AI output. A long conversation comes in pages of whole messages, never shortened: messageCount is how many there are, 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. 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_chat"
  }
}

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 only cover the safety profile (readOnlyHint, idempotentHint, non-destructive); the description adds substantial behavior beyond that: result ordering, page completeness ('never shortened' whole messages), the pagination contract with `messageCount`/`offset`/`nextOffset`, the `payment_required` error for locked studies, and the 'unreviewed AI output' caveat. These are the details an agent needs to drive the tool correctly and interpret the response.

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?

Content is front-loaded: what the resource is, then the pagination mechanics, then the failure condition. It is dense with semicolons and backticked field names and reads somewhat run-on, but every clause (ordering, message contents, page-integrity guarantee, payment condition) carries information an agent would otherwise have to guess.

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?

With no output schema, the description correctly compensates by naming the returned fields and explaining how pagination state is exposed. The main residual gap is behavior on invalid or inaccessible `studyId` values other than the payment case, which is minor for a read-only paged fetch.

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 by tying `offset` to the response-side `nextOffset` and explaining that `messageCount` reports the total. The `studyId` parameter's provenance is already in the schema ('as listed by remene_list_studies'), so no credit is double-counted there.

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 resource with scope and ordering: 'the patient's conversation with Remene's AI about one study, oldest first', and enumerates what each message carries (role, text, time, sources, proposed question plus saved flag). An agent can tell this is a transcript-read tool, though it does not explicitly contrast itself with close siblings such as remene_list_questions.

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?

The description gives a clear conditional loop rule: while `nextOffset` is not null, call again with `offset` set to it, and names the `payment_required` condition. It offers no explicit guidance on when to choose this tool over alternatives like remene_list_questions or remene_get_study; usage is implied rather than stated.

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