Skip to main content
Glama
OOBE-PROTOCOL

SAP MCP Server

sap_x402_settle

Finalize served x402 calls by calling the X402Registry settlement function with depositor wallet, call count, and service data, required by the agent owner wallet.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commitmentNoOptional processed|confirmed|finalized commitment
maxRetriesNoOptional RPC retry limit
serviceDataNoService data to hash into the settlement proof
computeUnitsNoOptional compute-unit limit
callsToSettleNoNumber of calls to settle
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?

With no annotations, the description carries the full burden. It reveals that the caller must be the agent owner wallet, which is a key behavioral constraint. However, it does not describe side effects, potential errors, or what the settlement entails (e.g., token transfers, state changes). The description omits crucial behavioral details for a financial tool.

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 description consists of two concise sentences without fluff. Each sentence adds value (action and requirement). However, the lack of a title is a minor structural point, but the description itself is efficiently written for its content.

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

Completeness1/5

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

Given the complexity of the tool (8 optional parameters, no output schema, no annotations), the description is severely incomplete. It fails to explain what a settlement produces, how parameters affect behavior, or any return value. The agent would lack critical context to use this tool correctly.

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?

All 8 parameters have descriptions in the schema (100% coverage), so the baseline is 3. The description adds no additional meaning beyond what the schema provides. It does not indicate which parameters are critical or provide usage context.

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?

The description clearly states the action: 'Settle served x402 calls through SDK X402Registry.settle.' It specifies the mechanism and adds a requirement ('Must be called by the agent owner wallet'). However, it does not differentiate from the sibling 'sap_x402_settle_batch', which likely handles batch operations, missing an opportunity to disambiguate.

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?

The only usage guidance is the ownership requirement. No information is provided on when to use this tool versus alternatives like 'sap_x402_settle_batch' or other settlement tools. No context on prerequisites or typical scenarios is given.

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