Skip to main content
Glama

Tidy Byte Tools API

text_diff

Line-level diff of two strings, plus a unified patch.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "text_diff"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does imply the operation is a pure, non-mutating comparison and that two outputs are produced (a diff and a unified patch), which is useful. However, it says nothing about patch context width, line-ending or encoding handling, input size limits, or whether identical inputs yield an error or an empty result.

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 eleven-word sentence with the primary output (line diff) front-loaded and the secondary output (unified patch) appended. There is no filler, hedging, or redundant restatement of the tool name.

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

Completeness3/5

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

With no output schema and no annotations, the description is the only source of truth, and it covers the two return artifacts at a high level. For a simple string utility that is close to adequate, but the missing input key names and absent patch formatting details leave real gaps an agent would trip over on first call.

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 declared parameter count is zero and the schema is an open object with additionalProperties=true and no named properties, so the structured data gives the agent nothing to build a call from. The description partially compensates by saying there are 'two strings,' but it never names those keys, so an agent still has to guess the request body. This sits below the zero-parameter baseline of 4 because the schema is unhelpfully open rather than genuinely parameterless.

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 and resource: 'Line-level diff of two strings, plus a unified patch.' An agent can immediately tell this produces both a line diff and a patch, and no sibling in the catalog (base64, hash, json_format, etc.) overlaps with that operation. It falls short of a 5 only because it never names the canonical comparator or output shape, so the scope of 'diff' remains implicit.

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 statement, no exclusions, and no mention of alternatives such as json_shaper for structural comparison. The agent must infer from the phrase 'two strings' that this is for free-text rather than JSON/YAML comparison, which is a meaningful ambiguity given json_repair and json_shaper exist as siblings.

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