Skip to main content
Glama

Quote By Location

quote_by_location
Read-onlyIdempotent

Look up quotes by structural address within a work, act/scene for plays, chapter for novels. Example: author_id="william-shakespeare", work_title="Hamlet", act=3, scene=1 returns the "To be, or not to be" line.

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": {
      "act": 3,
      "scene": 1,
      "author_id": "william-shakespeare",
      "work_title": "Hamlet"
    },
    "name": "quote_by_location"
  }
}

Input Schema

NameRequiredDescriptionDefault
actNoAct number (plays only).
sceneNoScene number (plays only).
chapterNoChapter number (novels/essays).
author_idYesAuthor id (e.g., "william-shakespeare").
work_titleYesTitle of the work (e.g., "Hamlet", "The Picture of Dorian Gray").

Output Schema

NameRequiredDescriptionDefault
workYesWork title that was queried
countYesNumber of quotes found at location
quotesYesArray of quotes from the specified location
author_idYesAuthor id used for lookup

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile needs no restating. The description adds only the addressing behaviour and does not cover permission needs, result volume, or what happens when address parameters are omitted. Against four annotation hints and an output schema, the added behavioural context is modest.

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?

Two sentences, front-loaded with the core concept followed by a concrete example. The example duplicates the schema's examples block nearly verbatim, which is the one piece of redundant content keeping this below 5.

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?

An output schema exists, so return values need not be described, and the annotations cover safety and idempotency. What remains unaddressed is the behaviour when only author_id and work_title are supplied without a structural address, since those optional parameters are the tool's defining feature. That gap matters for a tool whose whole premise is structural addressing.

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%, so each parameter is already documented, including 'plays only' on act and scene. The description restates that grouping (act/scene vs chapter) and its examples duplicate the schema's own examples array, so it adds little meaning beyond the structured data. Baseline 3 is appropriate.

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 uses a specific verb ('Look up') plus resource ('quotes') and states the addressing model (structural address: act/scene for plays, chapter for novels). This is clearly distinct from a random quote or a full-text archive tool. It stops short of naming or contrasting any sibling such as quotes_get_chapter, so it is clear but not explicitly differentiated.

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?

It gives clear situational context: use act/scene when the work is a play, chapter when it is a novel or essay, with a worked example for each. There are no explicit exclusions or statements about when another tool would be preferable, which keeps it at 4 rather than 5.

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.