Skip to main content
Glama

Tidy Byte Tools API

Diff two texts

text_diff
Read-onlyIdempotent

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

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds genuine value beyond that by naming the comparison granularity (line-level) and the output shape (unified patch), which is the main behavioral fact an agent needs; it does not mention size limits, encoding handling, or how equality/whitespace is treated.

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?

One short sentence, front-loaded with the operation and followed by the output guarantee. Nothing is padded and nothing is repeated from the title.

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 a wide-open input schema, the description should carry more weight than it does. It gives granularity and the patch output but omits the request field names and any structural hint about the returned diff object, which an agent needs to call this correctly.

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 schema declares zero named properties (an open POST body with additionalProperties), so field names must come from somewhere. The description says 'two strings' but never names the input keys, leaving the agent to guess the request shape. That is a real gap despite the zero-parameter baseline.

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 operation and resource: a line-level diff of two strings, plus the fact that it also produces a unified patch. That is concrete enough for an agent to know exactly what it gets back; it stops short of 5 only because it doesn't position itself against the other utility siblings (none of which diff, so this is a minor gap).

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?

There is no explicit when-to-use or when-not-to-use language, but for a self-contained string utility the implied usage is unambiguous from the description. An agent can infer the use case without consulting anything else.

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