Skip to main content
Glama

Lordevo Shop: website checks for agents (x402)

Page change check: content hash, clean text and line diff ($0.0021/call)

page_diff
Read-onlyIdempotent

$0.0021 per call (x402, USDC on Base; free trial: add "trial": true or use try_free). [Fetch and read the web] Fetches one public page and returns a SHA-256 hash of its main text plus the clean text; if you send the previous hash or text it also says changed yes/no and, with previous text, lists added and removed lines. Input: url, optional previous_hash or previous_text. Limits: 1.5 MB page, 100,000 characters of text returned; robots.txt obeyed. Not cached.

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": {
      "url": "<url>"
    },
    "name": "page_diff"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) URL or bare domain, e.g. https://example.com
trialNoOptional. true = free if a trial call is left (3 per IP per UTC day), else the payment terms.
previous_hashNocontent_sha256 from your previous call
previous_textNotext from your previous call (gives the changed lines; POST for long text)

Output Schema

NameRequiredDescriptionDefault
urlNo
diffNo
textNo
toolNo
cacheNo
_trialNoPresent when the call was a free trial call.
statusNo
changedNo
providerNo
price_usdNo
compared_withNo
content_sha256No
text_truncatedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / trial / description
      Previous value: -"Optional. true = answer free if a trial call is left (3 per IP per UTC day); otherwise you get the payment terms."New value: +"Optional. true = free if a trial call is left (3 per IP per UTC day), else the payment terms."
  2. Changed2 schema fields changed
    • addedInput schema / properties / trial
      Added value: +{
      +  "description": "Optional. true = answer free if a trial call is left (3 per IP per UTC day); otherwise you get the payment terms.",
      +  "type": "boolean"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "anyOf": [
      +    {
      +      "required": [
      +        "tool",
      +        "url",
      +        "content_sha256",
      +        "text"
      +      ]
      +    },
      +    {
      +      "properties": {
      +        "accepts": {
      +          "type": "array"
      +        },
      +        "error": {
      +          "type": "string"
      +        },
      +        "resource": {
      +          "type": "object"
      +        },
      +        "x402Version": {
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "x402Version",
      +        "accepts"
      +      ]
      +    },
      +    {
      +      "properties": {
      +        "charged": {
      +          "type": "boolean"
      +        },
      +        "error": {
      +          "type": "string"
      +        },
      +        "message": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "error"
      +      ]
      +    }
      +  ],
      +  "properties": {
      +    "_trial": {
      +      "description": "Present when the call was a free trial call.",
      +      "type": "object"
      +    },
      +    "cache": {
      +      "type": "object"
      +    },
      +    "changed": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "compared_with": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "content_sha256": {
      +      "type": "string"
      +    },
      +    "diff": {
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "price_usd": {
      +      "type": "number"
      +    },
      +    "provider": {
      +      "type": "string"
      +    },
      +    "status": {
      +      "type": "integer"
      +    },
      +    "text": {
      +      "type": "string"
      +    },
      +    "text_truncated": {
      +      "type": "boolean"
      +    },
      +    "tool": {
      +      "type": "string"
      +    },
      +    "url": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Added

TDQS

A3.9/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, and the description adds substantial context on top: per-call price and payment rail, a free-trial path via 'trial': true or try_free, 1.5 MB page and 100,000 character caps, robots.txt obedience, and the notable 'not cached' behavior. That is exactly the kind of operational disclosure that lets an agent predict cost and 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?

The pricing line leads, followed by a bracketed capability tag, then the core behavior, then inputs and limits in a compact block. Nearly every clause carries a fact (price, trial, limits, robots, caching), though the pricing-first framing adds front matter before the actual function is stated.

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

Completeness4/5

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

An output schema exists, so return shape need not be spelled out, and the description still covers the changed/added-lines semantics. Limits, cost, trial mechanics, and robots.txt behavior are all present. The only meaningful omission is explicit guidance against sibling diff and page-reading tools.

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 100%, so every parameter including the trial flag, the 64-hex pattern on previous_hash, and the POST hint for previous_text is already documented in the schema. The description only restates 'url, optional previous_hash or previous_text' and the hash-versus-text output difference, adding little semantic meaning beyond the structured fields.

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?

The description names a specific verb and resource set: fetch one public page, return a SHA-256 hash of main text plus clean text, and optionally report changed yes/no with added/removed lines. That is far more than the name/title restated. It stops short of a 5 because it never explicitly contrasts itself with nearby tools such as text_diff or url_clean, leaving sibling routing to inference.

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?

Usage is implied through the conditional 'if you send the previous hash or text it also says changed yes/no', which tells the agent how to unlock the diff mode. There is no statement of when to prefer this over text_diff (arbitrary text) or page_markdown, and no explicit when-not conditions beyond the robots.txt and size limits.

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