Skip to main content
Glama

The shortest documented chain of literary influence between two authors

influence_chain
Read-onlyIdempotent

For 'how is X connected to Y', 'did X influence Y', 'trace the influence from X to Y'. Shortest chain of documented influence links (Wikidata 'influenced by' plus model-attested) through 77 authors, each link with its direction, source and how alike the two authors' texts are. Says plainly when no chain exists or an author is not in the network.

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": {
      "from_author": "<from_author>",
      "to_author": "<to_author>"
    },
    "name": "influence_chain"
  }
}

Input Schema

NameRequiredDescriptionDefault
to_authorYesSecond author, e.g. 'James Joyce'
from_authorYesFirst author, e.g. 'Plato'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and openWorldHint=false; the description adds real context beyond them by naming the data provenance (Wikidata plus model-attested links), disclosing the closed 77-author coverage that justifies openWorldHint=false, describing the per-link payload (direction, source, textual similarity), and stating it reports plainly when no chain exists or an author is absent. It does not discuss latency or how model-attested versus Wikidata links should be weighted for trust.

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 query phrasings that tell an agent when to reach for it, followed by the mechanism and edge-case behavior. Dense but nearly every clause carries information; the trigger-phrase list is slightly redundant with the 'shortest chain' framing but still serves routing.

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?

With no output schema, the description steps in to describe the return shape (a chain of links, each with direction, source, and similarity score) and the failure modes (no chain, author outside the network). Combined with annotations covering safety and the fully documented two-parameter schema, an agent has everything needed to call it and interpret the result.

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% and both parameters carry examples, so the schema already carries the load. The description adds only a light directional cue ('each link with its direction') that reinforces from_author -> to_author ordering, without expanding on name formatting, aliases, or ambiguity handling beyond what the schema shows.

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 states a concrete verb+resource: it returns the shortest chain of documented influence links between two named authors, drawing on Wikidata 'influenced by' plus model-attested links across a bounded 77-author network. The 'shortest chain' framing implicitly distinguishes it from a flat pairwise check, but it does not name any sibling, and one of its advertised triggers ('did X influence Y') is exactly the kind of question a sibling like did_author_influence would also claim, leaving a small routing ambiguity.

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 explicit invocation contexts via three quoted query patterns ('how is X connected to Y', 'did X influence Y', 'trace the influence from X to Y'), so an agent knows the kind of request this serves. It stops short of stating when NOT to use it or pointing to a concrete alternative for the direct yes/no case, so the boundary with siblings is left to inference.

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.