Skip to main content
Glama

Make a receipt for a quotation

make_receipt
Read-onlyIdempotent

Check a quotation against the text and make a card built to be screenshotted and shared: the claim (who said what), the words quoted, the real text at its place (the original beside the English), a verdict (exact, near, not in the text or misattributed) and the permanent scriptura.si link. Give the quote, the claim if there is one ("Nietzsche said …") and the place in ref if you know it ("John 1:1", "Rep. 514a"). It uses check_quote where Scriptura has it, otherwise resolve_ref and read_work with a plain comparison, and says which. In hosts without apps the result is the same receipt as plain text. The same receipt as a picture to post is at https://scriptura.si/api/receipt, with these arguments and format=svg.

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": {
      "quote": "<quote>"
    },
    "name": "make_receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNoThe place it is said to come from, e.g. "John 1:1" or "Rep. 514a".
workNo
claimNoWho is said to have said it, e.g. "Plato said this about the cave".
quoteYesThe words quoted.
authorNo
editionNo

Output Schema

NameRequiredDescriptionDefault
appNo
urlNo
citeNo
errorNo
methodNo
receiptNo
verdictNo

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?

Beyond the readOnly/idempotent/non-destructive annotations, the description discloses the verdict taxonomy (exact, near, not in the text, misattributed), that it reports which internal path it used, and that hosts without apps return the identical receipt as plain text. It stops short of saying anything about failure modes or cost/latency of the two internal paths.

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

Conciseness3/5

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

The core purpose is front-loaded, but the opening is one tangled run-on sentence built from dashes and parentheticals, and the internal-routing detail is interleaved with output description. Every clause carries information, yet the structure makes it harder to scan than it needs to be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the receipt contents needn't be re-explained, and annotations cover the safety profile, so the description is nearly sufficient for a 6-parameter tool. The gap is the three unexplained parameters (work, author, edition) whose relationship to ref/claim an agent must guess.

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 50%, and the description reinforces quote, claim ('Nietzsche said …'), and ref ('John 1:1', 'Rep. 514a') with examples and notes that claim is optional. However, work, author, and edition are never explained in either place, leaving ambiguity about whether 'author' duplicates 'claim' or how work relates to ref.

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 concrete verb+resource: check a quotation against the text and produce a shareable receipt card containing claim, quoted words, original text, verdict, and permalink. It also names the internal siblings it delegates to (check_quote, resolve_ref, read_work), which separates it from a bare quote-check.

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?

Gives input-oriented guidance ('give the quote, the claim if there is one, the place in ref if you know it') and mentions the plain-text fallback in hosts without apps plus an SVG endpoint alternative. But it never states when an agent should choose make_receipt over check_quote, or when a receipt is unnecessary.

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