Skip to main content
Glama
OOBE-PROTOCOL

SAP MCP Server

sap_sns_register_agent_domain

Register a .sol domain for an SAP agent wallet with USDC payment and optional records. Domain ownership and metadata are configured in a single transaction.

Instructions

Register a .sol domain for the configured local SAP agent wallet using the SAP SDK SnsModule. Builds, signs, and submits the full registration transaction with USDC payment in one call. Domain registration fees are paid in USDC plus SOL for rent and transaction fees. The SOL record is NOT set during registration (it requires a separate Ed25519 signature) — set it after using sap_sns_build_manage_record_transaction.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
picNoProfile picture URL for the SNS Pic record (required if not provided in records.Pic)
spaceNoStorage space in bytes for the domain name account (default: 600)
domainNoThe .sol domain name to register for the SAP agent (with or without .sol suffix)
recordsNoOptional map of SNS record key-value pairs to set during registration (e.g. { "Url": "https://...", "Twitter": "@handle" }). Note: SOL record is skipped during registration.
sapDataNoOptional structured SAP metadata to embed in the domain TXT record (capabilities, protocols, endpoints, etc.)
protocolsNoOptional list of protocol IDs the agent supports
agentWalletNoThe Solana public key (base58) of the SAP agent wallet that will own the domain
capabilitiesNoOptional list of SAP capability IDs to advertise in the domain TXT record
setAsPrimaryNoWhether to set this domain as the agent primary .sol domain
durationYearsNoRegistration duration in years (default: 1)
Behavior3/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It mentions the registration transaction includes USDC payment plus SOL fees, and that the SOL record is not set. However, it does not describe what happens if the domain already exists, potential error states, or idempotency. For a registration tool, the primary side effect (creation) is implied, but more details would improve transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three sentences: purpose and action, payment details, and a critical caveat with an alternative. No extraneous words; efficient and well-structured.

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 10 parameters (including nested objects) and no output schema, the description covers the high-level flow, payment method, and a key constraint. It lacks details about the return value (e.g., transaction signature) and parameter dependencies, but provides sufficient context for an agent to decide to call this tool.

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%, so baseline is 3. The description does not add any parameter-specific meaning beyond what is in the schema. It mentions USDC payment and SOL record but lacks parameter-level enhancement.

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 a .sol domain for the configured local SAP agent wallet, using the SAP SDK SnsModule. It specifies that it builds, signs, and submits the full registration transaction with USDC payment in one call. Among sibling tools like sap_sns_check_domain, this tool's exclusive registration purpose is evident.

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 explicitly mentions that the SOL record is not set during registration and directs the agent to use the sibling sap_sns_build_manage_record_transaction for that step. It implies the agent wallet must be configured and USDC payment is required, but does not explicitly list when to use or not use this tool versus checking availability.

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