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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
factsNoShort factual bullets only; omit direct identifiers unless strictly necessary.
recordsNoNames/types of relevant records, not full documents or record identifiers.
questionsNo
reasonForVisitYesMinimum-necessary reason in the person's own words; omit direct identifiers.

Output Schema

TableJSON 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. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive behavior. The description adds meaningful context: privacy scope, the boundary against generating diagnoses or treatment recommendations, and the clinician's authority.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences, front-loaded with purpose and behavioral scope. There is no filler, and each sentence adds a distinct constraint.

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 described, and annotations cover safety. The definition is sufficient for calling the tool, though it lacks routing guidance relative to siblings.

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 75%, and the description only names the four input categories (reason, facts, records, questions). It adds little format or handling meaning beyond the schema's own descriptions for facts, records, and reasonForVisit.

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 action and resource: prepare a private, read-only visit brief from reason, facts, records, and questions. It distinguishes its scope from diagnostic or treatment tools, but does not name sibling alternatives such as understand_need or track_followup.

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?

Implies when to use it (private visit preparation) and explicitly excludes turning inputs into diagnoses or treatment recommendations, with clinician instructions remaining authoritative. It does not state when to choose this over sibling prepare_* tools or other related tools.

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