Skip to main content
Glama

Dosidal: prescription medicine records for AI agents

fetch

Read-only

Fetch a medicine's card. Give the card's address or any one of three codes: the barcode on the pack (Global Trade Item Number, GTIN), the national pack code, or the authorisation number. Returns the signed card with its stamp; or a list of cards where several share the code; or an empty list. Each fetch leaves a signed receipt.

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": {
      "code": "<code>"
    },
    "name": "fetch"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesa card's address, or a pack barcode (GTIN), a national pack code or an authorisation number

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint=true, openWorldHint=false), yet the description adds real behavioral detail: the three possible outcomes, including the ambiguous 'list of cards where several share the code' case, and the side effect that 'each fetch leaves a signed receipt' — an audit trail an agent would not otherwise expect from a read tool. That receipt side effect is worth noting against readOnlyHint but does not contradict it, since no source data is modified.

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?

Three short sentences, front-loaded with the action, then inputs, then return shapes — nothing is buried. The closing sentence about the signed receipt is useful rather than filler, though the 'stamp' phrasing is slightly ornamental.

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 one required parameter, no output schema, and annotations already declaring read-only, the description covers what the agent needs: accepted identifiers, all three result shapes, and the audit side effect. It stops short of explaining the card's actual payload or how to disambiguate a multi-card result, but that is a modest gap for a single-parameter lookup.

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 coverage is 100% for the single 'code' parameter, so the schema already documents the accepted inputs. The description expands GTIN and names the national pack code and authorisation number, but it largely mirrors the schema's own description rather than adding format, validation, or disambiguation rules for the multi-match case.

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 verb ('Fetch') and resource ('a medicine's card'), then immediately concretizes the resource by listing the four identifier types it accepts. The three possible return shapes (single signed card, list of matching cards, empty list) make the operation unambiguous, though nothing distinguishes it from the sibling verify_card.

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 rather than prescribed: the 'Give the card's address or any one of three codes' sentence tells the agent what input works but not when to choose this tool over verify_card or changes. No exclusions or prerequisites are stated, so an agent must infer the boundary from the tool names alone.

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.