Skip to main content
Glama

ai_entities_batch

Read-only

Batch named-entity extraction (grounded) — Extract people, organizations, locations, dates, money, products and events from up to 20 texts in one call (JSON array or texts separated by ||, each up to 4,000 chars). Every entity is checked offline to appear verbatim in its source text (grounded true/false); types are snapped to the allowed list. Returns per-text entities, type counts, top entities and entities shared across texts, quality CLEAN/MOSTLY_CLEAN/REVIEW. Optional types=person,organization,... to restrict. Price: $0.012 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": {
      "texts": "<texts>"
    },
    "name": "ai_entities_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
textsYese.g. Apple opened a new store in Paris in May 2025.||Tim Cook met Emmanuel Macron in Berlin.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld/non-destructive, and the description adds substantial behavior beyond them: entities are verified offline to appear verbatim (grounded true/false), types are snapped to an allowed list, and the response includes per-text entities, type counts, top entities, cross-text shared entities, and a quality tier. It also discloses a paid x402 cost of $0.012 USDC, which an agent must know before calling.

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-loaded with the purpose and scope, then grounding guarantees, then return shape, then price — a sensible priority order with no filler sentences. It is a dense single paragraph, though, and the return-value enumeration is long enough that a short structural break would aid scanning.

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?

There is no output schema, and the description compensates by enumerating the return fields and the quality rating scale, plus cost and grounding semantics. The only completeness gap is the undocumented-in-schema 'types' filter, which leaves the agent unsure whether type restriction is actually available.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema description coverage the baseline is 3, and the description earns above that by explaining input formats the schema does not (JSON array or '||' delimiter, 4,000-char cap per text). One flaw: it advertises an optional 'types=person,organization,...' filter that is absent from the input schema, so an agent may try to pass a parameter that does not exist.

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 ('Batch named-entity extraction (grounded)') and immediately bounds the scope ('up to 20 texts in one call'), plus enumerates the entity types extracted. The 'Batch' framing plus the 20-text ceiling makes it distinguishable from a single-text entity extractor without opening either 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?

It gives clear context for when to reach for this tool: multiple texts in one call, with accepted input encodings (JSON array or '||'-separated) and a per-text length ceiling. It does not name a single-text alternative or state any exclusion, so it stops short of full when/when-not guidance.

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