Skip to main content
Glama

Surgery record check

wever_vet-surgery-record-check
Read-only

Agent Veterinary Records: submit surgery records with the admission, anesthesia, post-operative, discharge and treatment records they answer to: each admission entry with its id, reference, the animal and the moment admitted; each surgery entry with its id, reference, the animal, the surgical procedure, the surgeon and the moment operated; each anesthesia entry with its id, reference, the surgery, the anesthetic agent and the moment induced; each post-operative or discharge entry with its id, reference, the surgery, its kind (post_operative or discharge) and the moment recorded; each treatment entry citing a surgery with its id, reference, the surgery and the surgery date it states. The signed report gives the surgeries and the records behind them, each surgery against the anesthesia entry behind it, each surgery against a post-operative or discharge entry, each procedure against an admission entry for its animal on or before the day operated, and each surgery date against the date the treatment record states, and counts them, and names divergent surgery records: a surgery recorded with no anesthesia entry behind it, a surgery entry with no post-operative or discharge entry, a procedure recorded for an animal with no admission entry, and a surgery date the treatment record contradicts; then a post-operative or discharge entry dated before its surgery and an anesthesia, post-operative or discharge entry naming a surgery the record does not hold, with the fix for each and what would change the verdict. No surgery entries, no anesthesia entries, no post-operative or discharge entries, or no admission entries beside surgeries leaves those points unverified. Surgeries, admissions and animals match by letters and digits, so SX-0702 and SX 0702 are one surgery, dates read by the day, and an admission counts on or before the day of surgery. This reads whether every surgery on the practice’s surgery record ran under anesthesia, on an admitted animal, closed with a post-operative or discharge entry, on the day the treatment record gives. Verdict vet_surgery_record_divergent, vet_surgery_record_partial, vet_surgery_record_unverified or vet_surgery_record_consistent. POST /api/vet-surgery-record-check. Reads the veterinary practice records supplied in the call and returns a signed report with the verdict, the evidence read, the findings with their fixes, and what would change the verdict; it reads the records as supplied only: it treats no animal, contacts no regulator, pharmacy or other practice and issues no license, prescription or certification, which stay with the practice, its veterinarians and its regulators, and the records stay in the report, with no network request, fetch, message, payment or external write. Agent Veterinary Records reads a veterinary practice’s own records: animal records, vaccination records, treatment records with dental procedures as treatment entries, surgery records, prescription records, lab records, veterinarian license records and controlled substance log records, each against the vaccination, treatment, visit and identity records, the rabies currency dates and booster schedule the record states, the visit, diagnosis, discharge and prescription records, the admission, anesthesia and recovery entries, the refill counts and the controlled substance log, the lab orders, the signed practice records and license classes, or the log’s own totals and inventory counts on record. The family’s ground is the paper trail behind the practice: what the animal record shows, what the treatment and surgery records support, what the license record covers, and whether the prescription records and controlled substance logs hold up; it reads records held by a veterinary practice or clinic, whatever the species, not farm production records and not human healthcare records: the Agent Agriculture Records family reads a farm’s production records, herd treatments the farm itself recorded included, and the Agent Healthcare family reads human healthcare records, while this family reads a veterinary practice’s own records and reads neither. Paid URL: 0.10 USDC per call on Base via x402 exact, with the shared 10 signed-wallet free calls per rolling 30 days. Bind X-Wever-Wallet-Proof to the exact JSON arguments and the tool route. Returns a report with an Ed25519 signed receipt. Contract: /api/agent-veterinary-records-contract. Human page: https://weverlabs.com/agent-veterinary-records/.

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": {
      "admissions": "<admissions>",
      "surgeries": "<surgeries>",
      "anesthesia": "<anesthesia>",
      "recovery": "<recovery>",
      "treatments": "<treatments>"
    },
    "name": "wever_vet-surgery-record-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoOptional name recorded in the report.
recoveryYesEach post-operative or discharge entry.
surgeriesYesEach surgery record entry.
admissionsYesEach admission entry.
anesthesiaYesEach anesthesia entry.
treatmentsYesEach treatment record entry that cites a surgery.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so safety is largely covered; the description goes further by stating explicitly that it treats no animal, contacts no regulator/pharmacy/other practice, issues no license or prescription, makes no network request or external write, and leaves records in the report. It also discloses cost (0.10 USDC per call via x402 exact, 10 free signed-wallet calls per rolling 30 days), the X-Wever-Wallet-Proof binding requirement, and the Ed25519 signed receipt on return. That is real behavioral context beyond the annotations, though much of it is templated boilerplate.

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

Conciseness2/5

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

This is a single enormous run-on block mixing the input enumeration, the cross-check list, divergence findings, partial-verdict conditions, matching rules, family scoping, pricing, and boilerplate. The per-entry field listings duplicate the schema and could be dropped entirely. Nothing is front-loaded into an easily scannable statement of purpose and use.

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?

Given a six-parameter, deeply cross-referencing input and no output schema, the description does supply what the agent needs: the cross-checks performed, the four verdicts, the conditions leaving points unverified, and the identifier/date normalization rules. The main omission is a clear statement of how the signed report's evidence and findings sections are shaped, though the verdict names and finding descriptions cover most of that.

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 field-level meaning is already documented in the schema, and the description's per-entry field enumeration (id, ref, animal, procedure, surgeon, at...) largely restates it. The genuine additions are the matching rules: identifiers compare by letters and digits so SX-0702 equals SX 0702, dates are read by the day, and an admission counts on or before the surgery day. Those normalization rules add real meaning, but they are buried in the stream of text.

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 names a specific operation on a specific resource: it reads a veterinary practice's surgery records and decides whether each surgery ran under anesthesia, on an admitted animal, closed with a post-operative or discharge entry, and on the date the treatment record states. The verdict names (vet_surgery_record_divergent/partial/unverified/consistent) make the output concrete. It does not explicitly contrast itself with the sibling record checks (treatment-record-check, prescription-record-check, etc.), which is the only gap at this level.

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 stated: the description establishes that this tool is for auditing a practice's surgery record and defines the four verdicts, but never says 'use this when you need X rather than wever_vet-treatment-record-check.' The family paragraph describes what the broader family reads and excludes (not farm production records, not human healthcare), which is boundary guidance at the family level rather than tool-level routing. An agent can infer the use case but must reason about it.

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