Skip to main content
Glama

Measure a draft against a voice profile

check_voice

Burrows's Delta, sentence rhythm, punctuation rates, join rates and substitution hits for a draft against a voice profile saved from /tools/drift. Pass the profile object exactly as that tool exports it, reference table included: the z-scores in it were computed against the writer's own pieces, and without that table they have no units, so a profile with it stripped out is refused rather than guessed at. The tool uses conservative, uncalibrated floors of 150 draft words and 5 reference pieces; below either it returns the counts and habits that still hold but no distance. This is not an AI detector: a low distance means the writer's own commonest words appear at similar rates, and nothing more.

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": {
      "profile": "<profile>",
      "draft": "<draft>"
    },
    "name": "check_voice"
  }
}

Input Schema

NameRequiredDescriptionDefault
draftYesThe draft to measure.
profileYesThe saved profile object from /tools/drift, unchanged, reference included.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses the refusal behavior when the reference table is stripped, the conservative uncalibrated thresholds (150 draft words, 5 reference pieces), the degraded return (counts and habits but no distance), and an explicit interpretation limit. These are non-obvious behaviors an agent could not infer from the schema.

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?

Three sentences, front-loaded with the computed metrics, then the precondition, then the thresholds and the interpretation caveat. No filler; each sentence introduces a distinct fact the caller needs.

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?

No output schema exists, so the description must convey what comes back, and it does (distance plus counts/habits, or counts/habits alone below the floors). For a two-parameter nested-object tool, nothing material about calling it correctly is missing.

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, but the description adds real meaning beyond the schema: the profile must be the unmodified export including its reference table, and stripping it causes refusal rather than inference. That is semantic constraint the schema's 'unchanged, reference included' only hints at.

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 operation (measure a draft against a saved voice profile) and enumerates exactly what is computed: Burrows's Delta, sentence rhythm, punctuation rates, join rates, substitution hits. This is unmistakably distinct from the sibling list/get tools, which are retrieval-only.

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?

Gives a concrete prerequisite (/tools/drift profile, passed unchanged with reference table) and a misuse exclusion ('this is not an AI detector'), plus the numeric floors below which no distance is produced. It stops short of naming an alternative tool for the below-threshold case, so it is clear context rather than a full when/when-not routing rule.

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