Skip to main content
Glama

cell_tool_diff

Read-only

Compare two texts by line, word or character, with a similarity score.

Input Schema

NameRequiredDescriptionDefault
byYes
newYes
oldYes
contextYes
new_nameYes
old_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds one behavioral detail beyond annotations—that a similarity score is returned—but says nothing about output structure, what 'context' does, or the meaning of the name parameters. Note idempotentHint=false is questionable for a pure deterministic comparison, but the description does not contradict the annotations directly.

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?

A single tight sentence with the core action and options front-loaded, no filler. Efficient, though brevity comes at the cost of explaining the remaining parameters.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-required-parameter tool with no output schema and 0% schema coverage, the description is too thin—it never explains old_name/new_name (likely diff-side labels) or context (likely unified-diff context lines). An agent could call it but would be guessing on half the inputs.

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

Parameters2/5

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

Schema coverage is 0% across 6 required params. The description only clarifies the 'by' parameter (line/word/char); 'old', 'new', 'old_name', 'new_name', and the integer 'context' remain undocumented in both schema and description. With such low coverage the description should compensate more than it does.

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?

States a specific verb (compare) and resource (two texts), and adds the granularity options (line/word/character) plus the output (similarity score). It's clear what the tool does, though it doesn't distinguish itself from the other cell_tool_* utilities by naming alternatives.

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

Usage Guidelines2/5

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

There is no explicit guidance on when to use this versus alternatives (e.g., cell_tool_regex or a plain text comparison), and no prerequisites or exclusions. Usage is only implied by the verb 'compare'.

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