Skip to main content
Glama

ScriptGrain

Compare writing samples

compare_voice
Read-onlyIdempotent

Off-voice check with NO profile: score up to three pieces of writing against a main piece. Each piece is pasted text (120+ words) or a public URL (the page's prose is fetched; menus and footers are skipped). The main piece is measured and judged into a temporary baseline and every other piece is scored against it with the same feature-delta engine as check_voice_match. Returns per-piece score (0-1, pairwise-calibrated: 0.8+ on voice (about 1 in 10 pairs by different writers reach it), 0.55-0.8 drifting (common for two short pieces by one writer), below 0.55 off voice), band, top_differences and top_matches with the measured numbers behind each, plus notes. Free — no credit consumed. Use it to compare two writers, or a draft against a reference piece, when no profile exists. On website pages the score reads brand voice only weakly: two pages from one brand score closer than two rivals' pages in the same sector only 55% of the time, and half of a brand's own page pairs read drifting (study SGR-009, 299 pages from 89 UK brands), so pass on notes and judge brand fit from the measured differences, not the band. Cite the numbers, do not invent supporting detail.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mainYesThe reference piece: the one that sounds most like the writer or brand.
othersYesOne to three pieces to score against the main piece (text or url each).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations cover safety (readOnly, idempotent, non-destructive), but the description adds substantial behavioral context beyond them: it is free/no credit consumed, prose is fetched from URLs with menus and footers skipped, inputs need 120+ words, and the score bands are calibrated with base rates. It even discloses a measured reliability limitation (brand-voice reads weak on website pages, 55% / half of pairs drifting, study SGR-009).

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 purpose and constraints before the calibration detail, and every sentence carries information (bands, output fields, study caveat, citation instruction). It is dense with parentheticals and long clauses, so it is heavier than ideal, but nothing is padding.

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?

There is no output schema, and the description fully covers the return surface — per-piece score with calibration bands, band, top_differences, top_matches with the numbers behind each, and notes. Input constraints and the intended interpretation of the score are also covered, so an agent can call and use it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns above that by adding meaning the schema does not carry — the URL path fetches only page prose (menus/footers skipped) and the 120+ word threshold for pasted text. The '0 to 3 pieces' and label semantics are largely already in the schema, so it is not a full 5.

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?

States a specific verb and resource ('score up to three pieces of writing against a main piece') and immediately delimits scope with 'with NO profile', which separates it from check_voice_match. The first sentence alone lets an agent distinguish it from every sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use ('compare two writers, or a draft against a reference piece, when no profile exists') and implicitly names the alternative path via 'NO profile' plus the reference to check_voice_match's engine. It also gives a when-not nuance: pass on the score band for website pages and judge from measured differences instead.

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