Skip to main content
Glama

search

Read-onlyIdempotent

Find personal health records by keyword and return cited, verifiable results with source and review status; flag pending AI-extracted entries so they are not treated as confirmed facts.

Instructions

Search personal records by keywords. Records with review_status 'pending' were not confirmed by the owner yet: never present them as facts. Always cite the 'source' of each record you use.

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": {
      "query": "<query>"
    },
    "name": "search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds genuinely new behavioral context: that records with review_status 'pending' are unconfirmed and must not be presented as facts, and that sources must be cited. It omits result ordering, ranking, and what the default limit of 5 means in practice.

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 short sentences, each front-loaded with its point: what it does, then the pending-status caveat, then the citation requirement. No filler or repetition.

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 no explanation, and the description covers the trust caveat that matters most for personal records. The remaining gap is search semantics — query matching and limit behavior — which an agent would still have to guess at.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry parameter meaning, and it only implies that 'query' is keyword-based. It says nothing about matching behavior (AND/OR, fuzzy, which fields are searched) or what 'limit' controls and how it interacts with result truncation.

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 and resource ("Search personal records by keywords"), which is enough for an agent to know what it retrieves. It never mentions the sibling read_entry, so the boundary between searching and fetching a known entry is left implicit.

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 rules for how to use results (don't present pending records as facts, always cite source) but says nothing about when to choose this over read_entry or what happens when a query is too broad. Usage is implied by the tool name rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools