Skip to main content
Glama

agentkit__batch

Run up to 20 sub-operations in one call. Price: $0.01 per call in USDC on Base (eip155:8453), paid with x402 in params._meta["x402/payment"]. HTTP: POST https://api.firstmention.uk/s/agentkit/batch

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "agentkit__batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
opsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / ops / items
      Removed value: -{
      -  "type": "object"
      -}
    • removedInput schema / required
      Removed value: -[
      -  "ops"
      -]
  2. Changed3 schema fields changed
    • addedInput schema / properties / ops
      Added value: +{
      +  "items": {
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • removedInput schema / properties / url
      Removed value: -{
      -  "type": "string"
      -}
    • addedInput schema / required
      Added value: +[
      +  "ops"
      +]
  3. Changed2 schema fields changed
    • removedInput schema / properties / ops
      Removed value: -{
      -  "items": {
      -    "properties": {
      -      "body": {
      -        "properties": {
      -          "json": {
      -            "type": "string"
      -          },
      -          "op": {
      -            "type": "string"
      -          },
      -          "text": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "path": {
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • addedInput schema / properties / url
      Added value: +{
      +  "type": "string"
      +}
  4. Changed2 schema fields changed
    • removedInput schema / properties / json
      Removed value: -{
      -  "type": "string"
      -}
    • addedInput schema / properties / ops
      Added value: +{
      +  "items": {
      +    "properties": {
      +      "body": {
      +        "properties": {
      +          "json": {
      +            "type": "string"
      +          },
      +          "op": {
      +            "type": "string"
      +          },
      +          "text": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "path": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  5. Changed2 schema fields changed
    • addedInput schema / properties / json
      Added value: +{
      +  "type": "string"
      +}
    • removedInput schema / properties / ops
      Removed value: -{
      -  "items": {
      -    "properties": {
      -      "body": {
      -        "properties": {
      -          "format": {
      -            "type": "string"
      -          },
      -          "from": {
      -            "type": "string"
      -          },
      -          "op": {
      -            "type": "string"
      -          },
      -          "to": {
      -            "type": "string"
      -          },
      -          "value": {
      -            "type": [
      -              "number",
      -              "string"
      -            ]
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "path": {
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
  6. Added

TDQS

C2.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does contribute real behavior: cost ($0.01/call), currency and network (USDC on Base, eip155:8453), the x402 payment location (params._meta["x402/payment"]), and the transport endpoint. That is genuinely useful preconditions info. It still omits critical execution semantics — whether ops run in order, whether failure of one op aborts the rest, and what the aggregate response looks like.

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?

The core capability is front-loaded in the first sentence, with cost and payment mechanics following. Every sentence carries information; the raw HTTP endpoint is arguably redundant for an MCP caller but does convey transport. No filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a batch dispatcher with a completely undescribed array parameter, no output schema, and no annotations, the description leaves the agent unable to construct a valid call — it knows the price and the endpoint but not what an op looks like or what comes back. Pricing and payment are covered; the actual mechanics are not.

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

Parameters2/5

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

Schema coverage is 0% and the sole parameter is an untyped array of 'ops' with no item schema at all. The description only adds the cardinality constraint ('up to 20') and the payment metadata key, leaving the shape of each op — operation names, fields, nesting — entirely undocumented in both schema and description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb+resource is present ('Run up to 20 sub-operations in one call'), and the cap of 20 is a concrete constraint. But 'sub-operations' is never defined — the agent cannot tell what operations are batchable or how this differs from agentkit__cronbatch or the many other *__batch siblings in the environment. Purpose is recognizable as batching but under-specified.

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 when-to-use or when-not-to-use guidance. The only implied guidance is the cardinality cap, which hints at 'use this when you have several operations'. Nothing routes the agent between this tool, agentkit__cronbatch, or calling the underlying tools individually.

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