Skip to main content
Glama

ai_summarize_batch

Read-only

Batch summarizer with number check — Summarize up to 10 separate texts in one call. Pass texts as a JSON array of strings or as texts separated by ||. Each text gets a short summary (max_words, default 40, up to 150) plus 1-4 key points, word counts and a compression ratio; commonThemes lists themes shared across texts. Every number in each summary and its key points is checked offline against that text's own source, and any number not found there is listed in unsupportedNumbers (numberCheck OK / REVIEW). Optional focus= steers what the summaries emphasize. Workers AI (Llama 3.3 70B). Price: $0.015 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_summarize_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
textsYese.g. The city council approved a $4.2 million budget for park repairs on Tuesday. Work begins in March.||Acme Corp reported revenue of $120 million, up 8% from last year, and raised its outlook.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/non-destructive, but the description adds substantial context beyond them: the offline number-check behavior with unsupportedNumbers and an OK/REVIEW verdict, the per-text output fields (summary, key points, word counts, compression ratio, commonThemes), the backing model (Llama 3.3 70B), and the price and payment rail ($0.015 USDC on Base via x402). The cost and payment requirement is exactly the kind of behavioral detail annotations do not cover. It stops short of describing failure or retry behavior.

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 paragraph that is front-loaded with the batch scope and input formats before moving to output fields and pricing. Every sentence carries information, though the run-on packing of number-check, output fields, model, and price makes it heavier to scan than it needs to be.

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?

No output schema exists, and the description does a good job listing what comes back (summary, key points, counts, compression ratio, commonThemes, unsupportedNumbers). However, it advertises 'max_words' and 'focus=' options that the supplied schema does not expose, so an agent following the description may pass parameters that are rejected. For a paid, batch tool this leaves a meaningful ambiguity unresolved.

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?

Schema coverage is 100% for the single 'texts' parameter, so the baseline would be 3, but the description adds real meaning: the accepted formats (JSON array of strings or '||'-separated), the 10-text cap, and the max_words range (default 40, up to 150). It also references an optional 'focus=' and 'max_words' that are not present in the input schema, which is useful semantics but also creates a mismatch an agent could trip over.

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 ('Summarize up to 10 separate texts in one call') plus a differentiator ('number check') that distinguishes it from single-text summarizers among the siblings. The batch scope and the 10-text cap are stated up front, so an agent can tell what this tool is for 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 Guidelines3/5

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

The 'up to 10 separate texts in one call' phrasing implies this is the multi-text variant, but it never explicitly says when to use it instead of a single-text summarizer or what to do when the input exceeds 10 items. Two input formats are given (JSON array or '||'), which is helpful, but there is no explicit 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