Skip to main content
Glama
freedom-m2m-mcp-server

freedom-m2m-mcp-server

Official

Structured HTML Table & Financial JSON Extractor (85 Sats / $0.080 USDC)

freedom_structured_extractor

Extracts structured data from URLs or raw text: parses HTML tables into JSON rows, captures headings, links, financial figures, tickers, and live Bitcoin price context.

Instructions

Structured Document, HTML Table & Financial JSON Extractor + Live BTC Oracle (85 Sats / ~$0.080 USDC | 100/100 SLA Guaranteed | FREE dryRun=true Pre-Check). Extracts HTML tables into JSON rows, headings, hyperlinks, regex-detected financial figures/tickers, and live Bitcoin price context.

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

Input Schema

NameRequiredDescriptionDefault
urlNoOptional public URL to extract structured tables and links from.
textNoOptional raw text or HTML snippet to extract financial metrics from.
dryRunNoSet true for a FREE (0 Sats) live readiness check.
m2mPassNoOptional Prepaid Session Pass token.
xPaymentNoOptional x402 payment payload.
authHeaderNoOptional payment proof header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv2.6.0
    • changedInput schema / properties / authHeader / description
      Previous value: -"Optional payment proof header: \"L402 <macaroon>:<preimage>\" or \"x402 base:<0xTxHash>\" or \"x402 solana:<TxSignature>\"."New value: +"Optional payment proof header."
    • addedInput schema / properties / dryRun
      Added value: +{
      +  "description": "Set true for a FREE (0 Sats) live readiness check.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / m2mPass
      Added value: +{
      +  "description": "Optional Prepaid Session Pass token.",
      +  "type": "string"
      +}
    • changedInput schema / properties / text / description
      Previous value: -"Optional raw text or HTML snippet to extract financial metrics from if no URL is provided."New value: +"Optional raw text or HTML snippet to extract financial metrics from."
    • changedInput schema / properties / url / description
      Previous value: -"Optional public URL to extract structured tables, links, and financial metrics from."New value: +"Optional public URL to extract structured tables and links from."
    • addedInput schema / properties / xPayment
      Added value: +{
      +  "description": "Optional x402 payment payload.",
      +  "type": "string"
      +}
  2. First observedv2.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations present, the description carries the full behavioral burden, and it does disclose the commercial traits an agent most needs: 85 Sats / ~$0.080 USDC per call, a 100/100 SLA claim, and a free dryRun pre-check. It leaves out failure modes, whether payment via m2mPass/xPayment/authHeader is mandatory, rate limits, and whether the operation is strictly read-only.

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 lead clause is keyword-stuffed with pricing, currency conversions, an SLA boast, and capitalized marketing phrases before the actual capability is stated. The second sentence is efficient and front-loads the extraction outputs well, but roughly half the text is promotional rather than functional.

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 six-parameter, zero-required, no-output-schema tool, the definition covers what is produced at a high level (JSON rows, headings, links, figures) but not the response shape or what happens on partial input. Given the absence of annotations and an output schema, it should say more about preconditions and results before an agent commits paid sats.

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 one of the six parameters is already documented in the schema, which sets the baseline at 3. The description adds no format or precedence detail beyond that (e.g., how url and text interact, or what a valid session pass looks like), so it does not exceed the schema.

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 second sentence states a specific verb and output set: extracts HTML tables into JSON rows, headings, hyperlinks, regex-detected financial figures/tickers, and Bitcoin price context. That is concrete enough to distinguish it from a generic scraper or a pure BTC oracle. It stops short of naming which sibling to use instead for overlapping work such as browsing or clean scraping.

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?

The parenthetical hint 'FREE dryRun=true Pre-Check' implies a sensible first call before paying, which is real usage guidance. However, there is no explicit when-to-use vs when-not guidance, and nothing explains the choice between supplying 'url' versus 'text' or what happens if neither is given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.