Skip to main content
Glama

add_style_references

Build an author's voice corpus with sample passages that future writing should match. Adds 1–50 source passages per call for style-guided generation, excluding model-written prose.

Instructions

Add passages to the author's voice corpus — prose they want future writing to sound like. Up to 50 per call, 2000 characters each, 500 per book. Add the author's own writing or a sample they chose; do not add your own prose, which would teach the book to sound like a model. Requires the Creator plan.

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": {
      "bookId": "<bookId>",
      "references": "<references>"
    },
    "name": "add_style_references"
  }
}

Input Schema

NameRequiredDescriptionDefault
bookIdYesBook ID
referencesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.11.1

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=true), the description discloses concrete operational limits: 50 per call, 2000 characters each, 500 per book. It also discloses an entitlement gate. What it omits is error behavior when the per-book cap is hit and whether re-adding existing passages deduplicates.

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 purpose, then the constraints and the prohibition. Every clause carries information the agent needs; nothing is redundant filler.

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 no output schema, the description does not say what the call returns (created reference IDs, updated corpus size), which is a minor gap for a batched write. Otherwise limits, plan requirement, and the anti-pattern guidance make it sufficiently complete for a 2-parameter mutation 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 coverage is 50%, so the schema already documents bookId, content, and source. The description reinforces the item-size and count ceilings but adds nothing about the `source` enum ('manual' vs 'archive_import') or how bookId scopes the corpus, which are the meaningful semantic gaps the schema leaves open.

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 ('Add passages to the author's voice corpus') and clarifies the resource further with 'prose they want future writing to sound like'. An agent can distinguish it from list_style_references or delete_style_reference by the verb alone, but the description never names those siblings or explicitly contrasts with them, so it stops short of full differentiation.

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 states both a positive condition ('Add the author's own writing or a sample they chose') and an explicit exclusion ('do not add your own prose, which would teach the book to sound like a model'), plus a plan prerequisite ('Requires the Creator plan'). It does not point the agent at siblings for listing or removing references, so routing guidance is incomplete.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.