Skip to main content
Glama

body_similarity_check

Compares new text with previous outputs to check if content is actually new, reporting highest similarity from token overlap and sequence ratio plus a verdict.

Instructions

Is this new content actually new? Compare it with what was produced before.

Used for adapted execution: keep the method, change the content. Reports the highest similarity found (token overlap and sequence ratio) and a verdict.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>"
    },
    "name": "body_similarity_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
previousNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses the return shape (token overlap, sequence ratio, verdict), but omits what happens when 'previous' is null, whether prior content is auto-retrieved, what similarity level triggers a negative verdict, and whether the call is read-only or has side effects.

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?

Front-loads the guiding question, then the usage rationale, then the returned metrics — a logical order with little filler. The phrasing is slightly indirect ('Is this new content actually new?') but not wasteful.

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 two-parameter comparison tool with no annotations, no output schema, and zero schema descriptions, more is needed. The description does cover the return values, but leaves the null-default behavior and verdict criteria undefined, which are exactly the decisions 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?

Schema description coverage is 0% for two parameters, so the description must compensate. 'Compare it with what was produced before' implicitly identifies the baseline input, but the description never names or explains the 'previous' parameter, its null default, or what 'text' is expected to contain (raw body, normalized text, etc.).

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 concrete operation — comparing new content against previously produced content and reporting the highest similarity plus a verdict — so the verb and resource are identifiable. It does not, however, distinguish itself from the numerous body_* siblings (e.g., body_lessons, body_workflow_report), which is fine given they appear unrelated, but no explicit differentiation is offered.

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 line 'Used for adapted execution: keep the method, change the content' gives an implied usage context, which is more than nothing. But there is no statement of when to skip this check, no threshold guidance, and no named alternative tool for a different kind of comparison.

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