Skip to main content
Glama

ScorpTech x402 Tools

Entity Extract

entity_extract
Read-onlyIdempotent

Rule-based entity and value extraction with normalised values: dates (ISO, numeric with dmy/mdy, month names, relative "next Friday" / "in 3 days" resolved against a reference date), times with time zones, money (symbols, ISO codes, crypto tickers, k/m/bn scales), percentages and basis points, quantities with units, durations in seconds, URLs, emails, hashtags, @mentions, $cashtags, organisations (legal suffixes) and titled persons. Code-point offsets, overlap resolution, type filter. Offline, deterministic, English. Returns JSON with: count, counts, entities, referenceDate. Price: $0.003 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/entity-extract

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

Input Schema

NameRequiredDescriptionDefault
textYesText to scan
typesNoOnly these entity types (default all)
dateOrderNoHow to read ambiguous numeric dates like 03/04/2026mdy
referenceDateNoAnchor for relative dates and missing years (default today, UTC)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations (readOnly/idempotent/non-destructive), the description discloses determinism, offline execution, English-only coverage, overlap-resolution behavior, code-point offsets, the exact return keys, and a concrete price/auth model ($0.003 USDC per successful call via x402 on Base or Solana) plus an HTTPS alternative endpoint. The only friction is that "offline, deterministic" sits oddly with openWorldHint=true, but that is a weak tension rather than a direct contradiction of a safety hint.

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?

It is front-loaded with the capability and keeps return/pricing/endpoint facts in compact trailing notes. The long entity enumeration partly duplicates the schema enum, but it earns most of its space by adding format details (crypto tickers, basis points, legal suffixes) that the enum does not convey; a bulleted split would read better than one dense sentence.

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?

With four parameters, no output schema, and simple annotations, the description covers everything an agent needs: what it extracts, determinism and language limits, date-resolution semantics, the returned JSON keys, and the cost/payment path. Nothing material is missing before a call.

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 baseline is 3. The description adds modest meaning — that dates can be numeric with dmy/mdy ordering, relative expressions resolve against a reference date, and a type filter narrows output — but these points largely restate the schema's own parameter descriptions.

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?

The definition opens with a specific verb+resource ("Rule-based entity and value extraction") and then enumerates the exact extractable types and their formats (ISO/numeric dates, k/m/bn money scales, crypto tickers, cashtags). It is clearly distinguishable from siblings such as contact_extract, ioc_extract, or keyword_extract because it names its own domain (general entities/values with offsets) rather than a narrow schema.

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 description supplies operating context (offline, deterministic, English-only, reference-date resolution) which implies when it is appropriate, but it never states when to prefer it over entity-specific siblings like contact_extract or ioc_extract, nor any when-not condition. An agent must infer the routing decision from the type list alone.

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