Skip to main content
Glama

ai_entities

Read-only

AI named-entity extraction — Extract people, organizations, locations, dates, money amounts, products, emails and URLs from text as clean JSON arrays, using Workers AI. Pass ?text=. Price: $0.006 USDC (Base, via x402).

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

Input Schema

NameRequiredDescriptionDefault
textYesthe text to analyze

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so safety is covered. The description adds genuinely useful behavior beyond that: the engine (Workers AI), the return format (clean JSON arrays), and a per-call price of $0.006 USDC via x402 on Base, which is cost/payment context an agent needs before invoking.

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?

One front-loaded sentence: purpose, entity list, and return format come first, with engine and price appended. Nothing is redundant, though the pricing clause is compacted awkwardly into the same sentence as the functional description.

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?

For a one-parameter, non-destructive read tool with an output schema absent, the description still explains the return shape, the backing service, and the payment requirement. An agent has everything needed to decide to call it and how to pass input.

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% for the single 'text' parameter, so the schema does the heavy lifting and baseline is 3. The '?text=' hint signals it is passed as a query-style argument, but no length limits, encoding rules, or input-format guidance are added.

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 and resource ('AI named-entity extraction') and then enumerates exactly which entity types are returned (people, organizations, locations, dates, money, products, emails, URLs) plus the output shape. An agent can distinguish this from generic tools like ai_extract 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 Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, and no sibling is named despite a crowded family of ai_* tools (ai_extract, ai_pii_redact, ai_classify). The entity-type list implies the use case, but nothing routes the agent between similar extraction tools.

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