Skip to main content
Glama

HMS x402 Data Origins (RE Data Refinery + Storefront)

sf_text_rewrite

AI text rewrite via OpenRouter — paraphrases input text preserving meaning and tone. Accepts text up to 4K chars. $1.00 per call. Origin: https://storefront-data-hms.ares-hms.workers.dev. Price: $1.00 per call via x402 (USDC on Base).

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": "sf_text_rewrite"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoTone preset: professional|casual|concise (default professional)
textYesText to rewrite (max 4K chars)
x402_paymentNoOptional. X-PAYMENT header value an x402 client produced after settling this exact origin+params challenge. Omit to first receive the Payment Required challenge.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose genuinely useful behavior: a 4K character cap, a $1.00 per-call cost, and payment via x402 using USDC on Base. It does not say whether the rewritten text is returned inline, whether the call is synchronous, or what errors look like, so the disclosure is partial.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short and front-loaded with purpose, but the price is stated twice ('$1.00 per call' and 'Price: $1.00 per call via x402 (USDC on Base)'), and the raw origin URL is appended without context. Those repetitions waste space in an otherwise compact definition.

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?

For a single-purpose text transform with a fully documented schema and no output schema, the description covers cost, limits, and the payment mechanism, which is the main non-obvious complexity. It still leaves the x402 challenge/settle flow obscure and says nothing about the shape of the returned rewrite.

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 coverage is 100%, so the parameters (mode presets, text, x402_payment) are already documented in the schema. The description adds only the 4K limit, which the text parameter already states, so it does not meaningfully extend parameter meaning. Baseline 3 applies.

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 states a specific verb and resource ('AI text rewrite ... paraphrases input text preserving meaning and tone') and the 'preserving meaning and tone' clause implicitly contrasts with siblings like sf_summarize. It is clear what the tool does, but it never explicitly distinguishes itself from those siblings by name.

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 or when-not-to-use guidance, no mention of alternatives such as sf_summarize, and no prerequisites stated beyond the passing mention of payment. The reader must infer that this is for rephrasing rather than condensing or classifying text.

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.