Skip to main content
Glama

Cima Medicine Document Sections

cima_medicine_document_sections
Read-onlyIdempotent

The STRUCTURED text of a Spanish medicine's ficha técnica (Summary of Product Characteristics) or prospecto (patient information leaflet), section by section, from AEMPS's own segmented-document endpoint, not a PDF link. Ficha técnica sections cover indications (4.1), dosage (4.2), contraindications (4.3), warnings (4.4), interactions (4.5), pregnancy/lactation (4.6), adverse effects (4.8), overdose (4.9). Pass seccion (e.g. "4.1") to fetch one section only; omit it to get every section (each capped at ~4000 chars to keep the payload bounded, the response says which sections were truncated). Example: cima_medicine_document_sections({ nregistro: "77758", document: "ficha_tecnica", seccion: "4.1" }); cima_medicine_document_sections({ nregistro: "77758", document: "prospecto" }). Keyless.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "seccion": "4.1",
      "document": "ficha_tecnica",
      "nregistro": "77758"
    },
    "name": "cima_medicine_document_sections"
  }
}

Input Schema

NameRequiredDescriptionDefault
seccionNoOne section number to fetch alone, e.g. "4.1" (indications). Omit for every section.
documentNoficha_tecnica = SmPC (prescriber label); prospecto = patient leaflet. Default ficha_tecnica.
nregistroYesSpanish national registration number, e.g. "77758"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description usefully adds that each section is capped at ~4000 chars with the response flagging truncation, and that access is keyless. It says nothing about error behavior for an unknown nregistro or section, so added value is modest.

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?

Front-loads the tool's identity and data source, then the section-number reference, then the seccion behavior, then examples. Dense but every sentence carries information; the duplicated example calls make the tail slightly longer than necessary.

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 must explain the return shape, and it does: section-by-section text, ~4000-char caps, truncation reported in the response. Remaining gaps, such as what happens when a section is absent or a registration number is invalid, are minor for a read-only lookup tool.

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%, so the baseline is 3. The description does add real meaning by mapping section numbers to topics (4.1 indications through 4.9 overdose) and clarifying that document selects prescriber label versus patient leaflet, which goes beyond the schema's brief field descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb and resource: the structured, section-by-section text of a Spanish ficha técnica or prospecto, pulled from AEMPS's segmented-document endpoint rather than a PDF link. The 'not a PDF link' clause and the section-numbering detail distinguish it cleanly from a sibling like cima_medicine_detail.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit operational guidance: pass seccion (e.g. "4.1") for a single section, omit it for the full document, and two worked examples cover both modes. It does not name a specific alternative tool or state when to prefer cima_medicine_detail, so it falls short of a 5.

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.