Skip to main content
Glama

cell_tool_diff

Read-only

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

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "by": "Line",
      "new": "<new>",
      "old": "<old>",
      "context": 1,
      "new_name": "<new_name>",
      "old_name": "<old_name>"
    },
    "name": "cell_tool_diff"
  }
}

Input Schema

NameRequiredDescriptionDefault
byYes
newYes
oldYes
contextYes
new_nameYes
old_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "by": "Line",
      +    "context": 1,
      +    "new": "<new>",
      +    "new_name": "<new_name>",
      +    "old": "<old>",
      +    "old_name": "<old_name>"
      +  }
      +]
  2. Added

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true/non-destructive, so the safety profile is covered. The description adds one useful behavioral fact beyond that — that a similarity score is produced, which matters because there is no output schema. It does not address the surprising idempotentHint=false or the sizing/limits of the comparison, so it only partially fills the gap.

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?

A single front-loaded sentence with no filler; the core action, options, and result are all packed into one clause with zero redundancy.

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?

With no output schema, 0% schema description coverage, and six required parameters, the one-sentence description is too thin. An agent can guess what old/new/by mean but has no basis for supplying old_name, new_name, or a meaningful context value, nor for interpreting the similarity score's scale.

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 description coverage is 0% across six required parameters, so the description must compensate and largely does not. It implies old/new and the by enum (line/word/character), but says nothing about old_name, new_name, or context — half the parameters, including what the integer context controls.

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?

"Compare two texts by line, word or character, with a similarity score" gives a specific verb (compare), the resources (two texts), the configurable granularity, and the output. It is clear enough to select the tool without opening the schema, though it makes no attempt to distinguish itself from any sibling.

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 when-to-use guidance, no preconditions, and no mention of alternatives (e.g. when to prefer line vs word vs character granularity). The agent is left to infer all selection logic from the single sentence.

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