Skip to main content
Glama
OOBE-PROTOCOL

SAP MCP Server

sap_x402_settle_batch

Settle a batch of x402 calls for a depositor wallet using settlement entries, with optional priority fee, compute units, and RPC settings.

Instructions

Batch-settle served x402 calls through SDK X402Registry.settleBatch. Must be called by the agent owner wallet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entriesNoArray of { calls, serviceData } settlement entries
commitmentNoOptional processed|confirmed|finalized commitment
maxRetriesNoOptional RPC retry limit
computeUnitsNoOptional compute-unit limit
skipPreflightNoOptional skip preflight flag
depositorWalletNoDepositor wallet public key (base58)
priorityFeeMicroLamportsNoOptional priority fee in microlamports per compute unit
Behavior2/5

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

No annotations are provided, so the description carries full burden. It mentions the caller requirement but discloses no side effects, failure behavior, or authorization details beyond 'agent owner wallet'. For a batch mutation tool, this is insufficient.

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?

Two sentences front-load the core action, but the first sentence uses jargon ('served x402 calls', 'SDK X402Registry.settleBatch') that may obscure meaning. Still, it is efficient and avoids redundancy.

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?

No output schema is present, so the description should cover return values or expected outcomes, but does not. With 7 parameters and no annotations, the description lacks behavioral context like cost implications, failure modes, or partial processing guarantees.

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%, so baseline is 3. The description adds no extra meaning beyond what the input schema already provides for each parameter. It does not explain the structure of 'entries' or the meaning of commitment values.

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?

The description clearly states the action 'Batch-settle' and the resource 'served x402 calls', distinguishing it from the likely sibling sap_x402_settle for individual settlements. Including the SDK method reinforces specificity.

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 description provides the prerequisite 'Must be called by the agent owner wallet' but does not explicitly state when to use this batch version over alternatives like sap_x402_settle for single calls. The usage context is implied by 'batch' but lacks explicit guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/OOBE-PROTOCOL/sap-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server