Skip to main content
Glama
OOBE-PROTOCOL

SAP MCP Server

Register SAP Agent With Local Signer

sap_payments_register_agent

Register your local SAP agent on-chain using your own wallet signer. Pays a 0.1 SOL protocol fee and verifies the agent account exists.

Instructions

Canonical local non-custodial SAP registry write for hosted and local users. Use this after hosted sap_register_agent returns hosted_local_signer_required, or directly instead of raw sap_register_agent. It registers the active local SAP MCP profile wallet as an on-chain SAP agent with the local signer; OOBE never receives keypair bytes. This tool does not pay a hosted x402 fee because it runs locally through sap_payments. After confirmation it enforces the source-level expected 0.1 SOL SAP protocol registration fee against the protocol treasury. success is true only when the agent account exists and the protocol fee invariant is verified. Requires confirm: true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoRequired public display name for the SAP agent. Keep it stable enough for explorers and humans.
agentIdNoOptional stable lowercase agent id, for example solking. This is separate from the on-chain agent PDA.
confirmNoMust be true. Confirms the user wants the local signer to submit this SAP registry transaction.
pricingNoOptional pricing tiers advertised by the agent. Use tokenType usdc + settlementMode x402 for pay.sh/x402 agent commerce.
agentUriNoOptional public HTTPS/IPFS/Arweave/Kommodo URI for the agent profile metadata or profile page. Never use local desktop file paths.
protocolsNoRequired protocol tags the agent supports, for example sap, mcp, jupiter, pyth, metaplex, sns, x402, payments.
descriptionNoRequired public description of what the agent does, which protocols it can use, and its safety/trust boundaries.
metadataUriNoAlias for agentUri. Prefer a public JSON metadata document containing name, description, image, external_url, attributes, sap, metaplex, sns, and x402 fields.
capabilitiesNoRequired capability list. Prefer object form for production; strings are accepted as shorthand.
x402EndpointNoOptional public x402 discovery/payment endpoint, usually https://host/.well-known/x402 for external agent services.
confirmationTimeoutMsNoOptional local confirmation wait in milliseconds. Defaults to 90000 so the tool can distinguish confirmed registration from an expired/not-landed transaction.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
agentYesAgent registration fields submitted on-chain.
auditYesAgent-readable proof that the write was local, non-custodial, and did not use hosted x402.
profileNoActive local SAP MCP profile used for registration when available.
successYesWhether the full SAP registration lifecycle completed: agent account confirmed and protocol fee invariant verified.
signatureYesSolana transaction signature returned by the SAP SDK.
protocolFeeYesVerification of the SAP protocol registration fee credited to the protocol treasury in the landed transaction.
agentRegisteredYesWhether the SAP agent account was found on-chain, even if protocolComplete is false.
signerPublicKeyYesPublic key of the local SAP MCP signer that registered the agent.
protocolCompleteYesTrue only when the agent account is confirmed and the expected protocol fee invariant is verified from transaction metadata.
confirmationStatusYesFinal local confirmation result: confirmed, finalized, processed, expired, missing, or failed.
Behavior4/5

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

The description discloses that the tool uses a local signer, does not expose keypair bytes to OOBE, enforces a 0.1 SOL protocol fee, and defines success condition (agent account exists and fee invariant verified). Annotations are minimal (readOnlyHint=false), so description adds significant behavioral context beyond annotations.

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 is concise (5 sentences) and front-loads core purpose and usage. It is well-structured with minimal redundancy. Could be slightly more compact, but overall efficient.

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

Completeness4/5

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

Given that an output schema exists, the description covers key aspects: purpose, usage context, differentiation from siblings, fee enforcement, and success condition. It lacks explicit prerequisites (e.g., having a local SAP MCP profile wallet) and error scenarios, but is largely complete for a mutation tool with comprehensive schema.

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 100%, meaning all 11 parameters have descriptions. The description adds no additional parameter-level information beyond the schema; it only mentions the 'confirm' parameter requirement. Baseline is 3 due to high coverage, and description does not significantly enhance parameter understanding.

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 tool registers an on-chain SAP agent with the local signer, distinguishing it from raw sap_register_agent by explicitly mentioning when to use it (after hosted version returns hosted_local_signer_required). It uses specific verbs and resources ('local non-custodial SAP registry write').

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?

The description gives explicit guidance on when to use this tool: after hosted sap_register_agent returns hosted_local_signer_required, or directly instead of raw sap_register_agent. It also notes that no hosted x402 fee is paid. However, it does not provide explicit when-not-to-use scenarios or alternative tools beyond the raw version.

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