Skip to main content
Glama

Extract batch

extract_batch

Run up to 20 extract calls. Each item has its own status. Call extractors.list for the sample schema. Call keys.create once. Pass caller_key on every later tools/call.

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": {
      "items": "<items>"
    },
    "name": "extract_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes
caller_keyNopf_ key from keys.create. Pass this on tools/call when Authorization and X-Caller-Key are not set. A header key wins if both are set.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / items / items / properties / json_schema / properties
      Added value: +{}
    • removedInput schema / properties / items / items / properties / json_schema / propertyNames
      Removed value: -{
      -  "type": "string"
      -}
  2. Changed1 schema field changed
    • addedInput schema / properties / caller_key
      Added value: +{
      +  "description": "pf_ key from keys.create. Pass this on tools/call when Authorization and X-Caller-Key are not set. A header key wins if both are set.",
      +  "type": "string"
      +}
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Adds real context beyond the annotations: per-item status means results are not all-or-nothing, and there is a stated auth requirement (keys.create once, then caller_key). It does not say how failures surface in the response, whether successful items are persisted, or how the batch is executed, and the readOnlyHint=false / destructiveHint=false pair leaves the side-effect profile ambiguous for something that clearly creates extraction work.

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?

Four short sentences, front-loaded with the core capability before the setup steps. The telegraphic phrasing ('Run up to 20 extract calls') is efficient, though the key-provisioning instructions are compressed enough that ordering could be misread.

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?

There is no output schema, so the description should convey the shape of the result; 'Each item has its own status' is a partial hint but does not say what statuses exist or how errors are reported. Combined with the undocumented item schema, an agent still lacks what it needs to interpret a batch response.

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 coverage is 50%, so 'items' is undocumented in structured form; the description compensates only partly by stating the 20-item cap and that each item carries its own status, and by routing to extractors.list for the sample schema. The required per-item url and json_schema fields are never explained in the description, so the gap is narrowed but not closed.

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?

States a concrete verb and resource ('Run up to 20 extract calls') with an explicit size cap, which contrasts with the singular sibling 'extract'. It never names that single-call alternative, so the distinction is implied by 'batch' rather than spelled out.

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?

Gives a usable call sequence: consult extractors.list for the sample schema, call keys.create once, then pass caller_key on every later tools/call. What is missing is an explicit when-not condition, e.g. when to prefer single 'extract' over batching or what to do when there are more than 20 items.

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