Skip to main content
Glama

Genesis402 by UnyKorn (x402 pay-per-call)

Summarize text

genesis402_summarize

Paid ($0.006 USDC). Summarize long text you already have (a report, transcript, filing, thread) as a paragraph, bullet list or one-line TL;DR, within a word limit, on UnyKorn's own GPU. Use when the text is in hand; to summarize a live web page by URL instead, call the summarize-url endpoint through genesis402_call. To answer one specific question from the text use genesis402_answer_from_text. Returns the summary in the requested style as JSON. Works only from the supplied text. Payment: call once without payment_signature to get the exact price quote (nothing is charged or signed), then call again with the signed payment to receive the result and settlement details.

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

Input Schema

NameRequiredDescriptionDefault
textYesThe text to summarize, up to 24,000 characters. Trim longer input first.
styleNoOutput shape: 'paragraph' (default), 'bullets' for a bullet list, or 'tldr' for one or two sentences.
max_wordsNoUpper bound on summary length in words, 20 to 400. Defaults to 120.
payment_signatureNoOptional. An x402 v2 payment you signed for this call's quote (the PAYMENT-SIGNATURE header value). Omit to get the price quote first; nothing is charged without it.

Output Schema

NameRequiredDescriptionDefault
modeYesQUOTE_ONLY: price quote only, nothing signed or charged. PAID: the call was paid and result holds the data. FREE: the endpoint answered without payment.
paidYestrue only when a payment was settled for this call.
priceNoThe Base USDC quote. Present on QUOTE_ONLY and on PAID calls made by a local payer; null when the rail offered no Base USDC lane or the caller signed the payment.
resultNoPAID or FREE: the endpoint's JSON result.
sellerNoWho is paid and who issues the receipt: the seller's ERC-8004 agent id, registry and receipts feed.
resourceNoQUOTE_ONLY: the full URL of the paid resource.
how_to_payNoQUOTE_ONLY: how to sign and resend the call.
settlementNoPAID: decoded PAYMENT-RESPONSE settlement (transaction hash, network, payer), or null if the rail sent none.
receipts_urlNoPublic receipts feed, where a paid call's signed receipt can be looked up.
what_you_getNoQUOTE_ONLY: the rail's description of what the payment buys.
payment_required_b64NoQUOTE_ONLY: the raw base64 PAYMENT-REQUIRED header, to sign with any x402 v2 client.
also_accepted_networksNoQUOTE_ONLY: every network the 402 challenge accepts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / receipts_url
      Added value: +{
      +  "description": "Public receipts feed, where a paid call's signed receipt can be looked up.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / seller
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Who is paid and who issues the receipt: the seller's ERC-8004 agent id, registry and receipts feed.",
      +  "properties": {
      +    "agent": {
      +      "type": "string"
      +    },
      +    "agent_id": {
      +      "description": "ERC-8004 agent id of the seller on Base. 95721 is the Genesis402 rail; a route sold by a desk agent names that agent.",
      +      "type": "number"
      +    },
      +    "card": {
      +      "description": "The seller's ERC-8004 registration file.",
      +      "type": "string"
      +    },
      +    "chain": {
      +      "description": "Chain name, base.",
      +      "type": "string"
      +    },
      +    "collector": {
      +      "description": "ERC-8004 id of the collecting agent whose wallet receives the payment (95721). Present with specialist.",
      +      "type": "number"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "pay_to": {
      +      "description": "The Base address this route is paid to, as quoted in the 402.",
      +      "type": "string"
      +    },
      +    "receipts": {
      +      "description": "Public feed of signed receipts for paid calls.",
      +      "type": "string"
      +    },
      +    "registry": {
      +      "description": "CAIP-10 style registry reference, eip155:8453:<IdentityRegistry address>.",
      +      "type": "string"
      +    },
      +    "registry_address": {
      +      "description": "ERC-8004 IdentityRegistry contract address on Base.",
      +      "type": "string"
      +    },
      +    "source": {
      +      "description": "rail: named by the rail in its 402 or manifest. package: this package's default, used when the rail names none.",
      +      "enum": [
      +        "rail",
      +        "package"
      +      ],
      +      "type": "string"
      +    },
      +    "specialist": {
      +      "description": "Present when the route is sold by one of the rail's eight specialists (prices, chain-reader, defi, web, geo-records, research, ai-tools, utilities).",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "agent_id",
      +    "registry",
      +    "registry_address",
      +    "chain",
      +    "source"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only supply readOnlyHint=false and openWorldHint=true, so the description adds the substantive behavior: a two-call x402 payment handshake (quote first, nothing charged, then signed payment returns result plus settlement details), a fixed price, and the constraint that no fetching occurs beyond the provided text. That is exactly the operational context an agent needs before spending money.

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 price and purpose, then alternatives, then return shape, then the payment protocol — a sensible ordering with no filler sentences. It is dense and slightly long, with payment mechanics interleaved into the same paragraph, which keeps it just short of a 5.

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

Completeness5/5

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

Covers cost, payment sequence, input constraint, alternatives, and output style, and an output schema exists so return structure needn't be spelled out further. Nothing material is missing for correct invocation of a paid, single-purpose tool.

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 the schema already explains text limits, the style enum, max_words bounds, and that payment_signature may be omitted for a quote. The description restates the style/word-limit and payment-quote semantics at a high level without adding syntax or edge-case detail beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (summarize) and resource (supplied long text) plus the concrete output shapes and the cost ($0.006 USDC). It explicitly separates itself from genesis402_call's summarize-url flow and from genesis402_answer_from_text, so an agent can differentiate without opening sibling schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit positive condition ('Use when the text is in hand') and two explicit alternatives with the condition selecting each: URL summarization goes to the summarize-url endpoint via genesis402_call, and single-question extraction goes to genesis402_answer_from_text. It also states a hard exclusion: works only from the supplied 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.