Skip to main content
Glama

Quotes Random Quote

quotes_random_quote
Read-onlyIdempotent

Return a random quote from the corpus, optionally filtered by author, fame, verification status, or tag. Each result includes citation: work, year, speaker (for plays/fiction), and source URL.

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": {
      "famous_only": true,
      "verified_only": true
    },
    "name": "quotes_random_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNoFilter by tag (e.g., "wit", "love", "misattributed", "commonly-misquoted").
author_idNoOptional author id (e.g., "oscar-wilde", "william-shakespeare", "mark-twain"). Use list_authors to discover ids.
famous_onlyNoIf true, only return famous/canonical quotes.
verified_onlyNoIf true, exclude misattributed quotes.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, openWorld), so the description's contribution is the shape of the payload: work, year, speaker for plays/fiction, and source URL. That is genuinely useful context beyond the structured fields, though it says nothing about behavior when filters match nothing or about how randomness is produced. Note a mild tension with idempotentHint=true, but since idempotency here concerns side effects on a read-only tool, it is not a hard contradiction.

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?

Two sentences, front-loaded with the action and the optional filters, then the return shape. Nothing is redundant and nothing important is buried.

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 an output schema, full schema coverage, and rich annotations, the definition is nearly complete; the only real gap is the empty-result case when a filter combination matches no quotes. That omission is minor for a read-only sampling 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 description coverage is 100% and every parameter already carries an example-bearing description, including a pointer to list_authors for author ids. The description restates the four filter dimensions (author, fame, verification, tag) without adding format or precedence rules, so the baseline 3 applies.

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 gives a specific verb and resource ('Return a random quote from the corpus') plus the filterable dimensions, which is enough to distinguish it from the search-style sibling. It does not explicitly name quotes_search_quotes as the deterministic alternative, so the differentiation is implicit rather than stated.

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 by the word 'random' and by the optional filters, but there is no explicit when-to-use / when-not-to-use guidance and no pointer to a sibling for exact-match or paged retrieval. An agent must infer that this tool is for sampling rather than targeted lookup.

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.