Skip to main content
Glama
headlessherm-creator

Polymath MegaBlaster MCP

diff_text

Compare two text blocks line by line to identify added, removed, and unchanged lines for precise change tracking.

Instructions

Line-by-line diff of two text blocks, returning added/removed/unchanged lines

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aYesOriginal text
bYesModified text

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses the core behavior: line-by-line classification of added, removed, and unchanged lines. It does not specify output formatting or line-ending handling, but for a simple deterministic utility the behavioral disclosure is solid.

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?

The entire description is one efficient sentence, front-loaded with 'Line-by-line diff' and then the return categories. No unnecessary filler or repeated schema information.

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?

For a simple two-string tool with a fully documented schema and no output schema, the description is sufficient: it tells the agent what the tool does and what the return represents. It does lack an example or output-marker detail, but that is minor for the complexity level.

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?

The input schema contains 100% parameter descriptions ('Original text' and 'Modified text'), so the baseline is 3. The description only refers to 'two text blocks' at a high level and adds no semantic detail beyond what the schema already states.

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?

The description clearly states a specific verb and resource: 'Line-by-line diff of two text blocks' returning 'added/removed/unchanged lines'. This distinguishes it from siblings like levenshtein_distance or base64_encode, which operate differently, without needing to open the schema.

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

Usage Guidelines3/5

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

The description implies the use case of comparing two text blocks line-by-line, but it gives no explicit instructions on when to reach for diff_text over a sibling such as levenshtein_distance, and does not mention exclusions or prerequisites. It is minimally viable but lacks concrete routing guidance.

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