Skip to main content
Glama

Prepare a factual private visit brief

prepare_visit
Read-onlyIdempotent

Private, read-only visit preparation. Organizes the person's reason, facts, records and questions without turning them into diagnoses or treatment recommendations. The clinician's actual instructions remain authoritative. Cost and signer: free and keyless, nothing to sign.

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": {
      "reasonForVisit": "<reasonForVisit>"
    },
    "name": "prepare_visit"
  }
}

Input Schema

NameRequiredDescriptionDefault
factsNoShort factual bullets only; omit direct identifiers unless strictly necessary.
recordsNoNames/types of relevant records, not full documents or record identifiers.
questionsNoOptional. The person's own questions for the visit, one short sentence each, at most 12 kept. Omit direct identifiers. Example: ["What should I bring to the next appointment?"].
reasonForVisitYesMinimum-necessary reason in the person's own words; omit direct identifiers.

Output Schema

NameRequiredDescriptionDefault
okNo
toolNo
fundedNo
payUsdNo
workIdNo
claimIdNo
claimableNo
next_callNo
proofRuleNo
fulfillableByNo
definitionOfDoneNo
needs_from_callerNo
notClaimableReasonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / questions / description
      Added value: +"Optional. The person's own questions for the visit, one short sentence each, at most 12 kept. Omit direct identifiers. Example: [\"What should I bring to the next appointment?\"]."
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds genuinely new behavioral context: the output deliberately excludes diagnoses and treatment recommendations, clinical instructions take precedence, and there is no cost or signing step. It does not describe handling of sensitive data beyond the privacy label, but that is largely a schema concern here.

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?

Four short sentences, front-loaded with the core purpose and immediately followed by the key scope boundary. The final 'free and keyless, nothing to sign' sentence is somewhat tangential to the task but plausibly earns its place as a trust/reassurance signal; nothing is bloated or repetitive.

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?

An output schema exists, so return values need not be explained, and all parameters are fully specified in the schema. Given a low-complexity, four-parameter, read-only tool, the description covers purpose, boundary, authority hierarchy, and cost model adequately; only explicit sibling routing is missing.

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

Parameters3/5

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

Schema description coverage is 100%, so all four parameters (reasonForVisit, facts, records, questions) are already documented with formatting and de-identification guidance. The description restates the parameter categories at a high level ('reason, facts, records and questions') without adding format, limits, or edge-case meaning beyond the schema, so baseline 3 applies.

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 description gives a specific verb+resource: prepares a private, read-only visit brief, and enumerates what it organizes (reason, facts, records, questions). It also states the negative boundary (no diagnoses or treatment recommendations), which sharpens what the artifact is. It does not name or differentiate against a related sibling, but the domain is distinct enough that an agent can place it.

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 context is implied through 'visit preparation' and the note that the clinician's instructions remain authoritative, which signals this is a supplemental aid rather than a decision-maker. There is no explicit when-to-use vs. alternative guidance and no stated when-not conditions, so an agent must infer the triggering situation.

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