Skip to main content
Glama

HMS x402 Data Origins (RE Data Refinery + Storefront)

sf_summarize

AI text summarization via OpenRouter — returns 3-5 sentence summary. Accepts text up to 8K 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_summarize"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesText to summarize (max 8K 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

A3.6/5.0
Behavior4/5

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

With no annotations, the description takes on the full disclosure burden and does a reasonable job: it reveals the output shape (3-5 sentences), the input cap, the monetary cost ($1.00/call), the payment rail (x402, USDC on Base) and the origin. It does not cover failure modes, what happens to text exceeding 8K chars, or latency, which keeps it from a 5.

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?

The core facts are front-loaded, but the price is stated twice ('$1.00 per call' and 'Price: $1.00 per call via x402 (USDC on Base)') in a dash-delimited run-on. Redundancy costs it a point despite the overall brevity.

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?

For a two-parameter tool with no output schema, the description supplies the return shape and the payment prerequisite an agent needs before calling. The only real gap is error/edge-case behavior when payment is absent or text is oversized.

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 both `text` and `x402_payment` are already documented in structured form. The description restates the 8K limit already present in the schema and adds nothing about the payment parameter's settlement semantics beyond what the schema says.

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 ('AI text summarization') and pins down the output ('returns 3-5 sentence summary'), plus the input bound (8K chars). It does not explicitly distinguish itself from related siblings such as sf_text_rewrite or sf_sentiment, leaving that inference to the agent.

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 only implied by the name and the 'summarization' verb; there is no explicit when-to-use or when-not guidance and no named alternative for cases where a rewrite or sentiment pass is wanted instead. The only operational direction is the cost/payment note, which the schema also covers.

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.