Skip to main content
Glama

ScorpTech x402 Tools

Openapi Summary

openapi_summary
Read-onlyIdempotent

Summarise an OpenAPI 3.x or Swagger 2.0 API from a URL (SSRF-safe) or an inline JSON / YAML spec, so an agent can learn an API fast: title, version, servers / base URLs, auth schemes (API key, bearer, OAuth flows), and every operation with method, path, operationId, summary, tags, parameters (with $ref resolved), request body types, response codes and per-operation security. Filter by tag or search text. Returns JSON with: source, format, specVersion, title, version, description, servers, securitySchemes. Price: $0.004 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/openapi-summary

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "openapi_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNoOnly operations with this tag
urlNoURL of the spec (JSON or YAML)
specNoInline spec as a JSON object, or a JSON / YAML string (instead of url)
limitNo
searchNoOnly operations whose path, operationId or summary contains this text

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/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 openWorld, and the description adds real context beyond them: SSRF-safe URL fetching, $ref resolution for parameters, the filter behavior, an explicit list of returned JSON fields, and a cost model ($0.004 USDC per successful call via x402 on Base or Solana) plus a direct HTTPS endpoint. Cost and safety disclosures are exactly the kind of information an agent needs before invoking a paid external call.

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?

A single dense, front-loaded paragraph that puts the core action and inputs first, then extraction details, then output shape and pricing. The pricing and duplicate HTTPS endpoint sentence is somewhat promotional, but it is materially useful for an agent deciding whether to call a paid tool, so it mostly earns its place.

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?

With no output schema, the description does the work by listing return fields, and it covers safety, filtering, ref resolution and cost. The one gap is that the returned-field list omits the operations array itself, which is the tool's main payload, and `limit` behavior is never explained — minor but noticeable omissions for a 5-parameter extraction 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 coverage is 80%, so most parameters are already documented, and the description largely restates them ('Filter by tag or search text'). It adds one genuinely new detail — that parameters have $ref resolved — but says nothing about the `limit` parameter or the trade-offs of URL vs inline spec beyond the schema's own note. Baseline 3 is appropriate.

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?

Uses a specific verb plus resource ('Summarise an OpenAPI 3.x or Swagger 2.0 API') and enumerates exactly what is extracted: title, version, servers, auth schemes, and every operation with method, path, operationId, parameters, request bodies, response codes and security. An agent knows precisely what this tool produces without opening the schema.

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

Usage Guidelines4/5

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

Gives a clear context of use ('so an agent can learn an API fast') and distinguishes the two input modes (URL vs inline JSON/YAML spec), with the schema noting spec is 'instead of url'. It does not state when not to use it or name an alternative, but the purpose is narrow enough that the usage is unambiguous.

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