Skip to main content
Glama

Nobody Quits

Buy the book

buy_book
Idempotent

For the person signed in with INITE ID ("nobodyquits:purchase"): a payment link for the whole book. The person pays on that page themselves (card or PIX) and every part opens for their account; nothing is charged by this call. Says so if they already own it. Only call when the person asks to buy the book.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "buy_book"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of the edition: en, ru, es or pt.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Despite readOnlyHint=false and openWorldHint=true in the annotations, the description resolves the obvious ambiguity by stating 'nothing is charged by this call' — payment happens externally on the link, card or PIX. It also discloses the post-purchase effect ('every part opens for their account') and the already-owned case, which annotations cannot convey.

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-loaded with the key fact (it returns a payment link, the caller is not charged) and keeps to a handful of short sentences with no filler. A couple of telegraphic fragments ('Says so if they already own it') read awkwardly but still carry information.

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

Completeness5/5

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

For a one-parameter, no-output-schema tool, it covers what the agent needs: the auth scope, that the call is free, that payment happens off-platform, the effect on the account, and the already-owned branch. No output schema exists, and the description explains the outcome the agent should relay to the user.

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 description coverage is 100% and the single lang enum is fully documented in the schema, so the baseline is 3. The description never mentions the language parameter or how edition language interacts with the purchase, adding no meaning beyond the schema.

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 action and resource: produce a payment link so the signed-in person can buy the whole book themselves. It is clearly distinct from reading siblings (get_book_contents, read_part) which deal with content access rather than purchase, and it states the account scope (INITE ID with the purchase permission).

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 an explicit trigger condition: 'Only call when the person asks to buy the book,' and an implied exclusion for people who already own it ('Says so if they already own it'). It doesn't name a sibling alternative, but the constraint is strong enough that an agent won't confuse it with read_part or get_book_contents.

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