Skip to main content
Glama
OOBE-PROTOCOL

SAP MCP Server

sap_sns_build_set_primary_domain_transaction

Build an unsigned transaction to set a .sol domain as primary for its owner. The transaction must be signed before submission.

Instructions

Build an unsigned transaction to set a .sol domain as primary for the owner using the Bonfida SDK. The returned transaction must be signed with sap_sign_transaction before submission.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ownerNoThe Solana public key (base58) of the domain owner setting their primary domain
domainNoThe .sol domain name to set as primary for the owner
Behavior4/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 discloses the key behavioral trait: the tool builds an unsigned transaction (not submitted). It does not mention permissions or side effects, but for a transaction-building tool, the primary behavioral disclosure is correct and adequate.

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 concise: two sentences covering purpose (first sentence) and usage instruction (second sentence). Every sentence adds value with no redundancy or filler.

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?

The tool has simple parameters and no output schema. The description explains the purpose and the required follow-up step. It lacks information on constraints (e.g., domain ownership) but is sufficient for a build-then-sign pattern. Slightly more context could improve completeness.

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?

The input schema has 100% description coverage for both parameters (owner and domain). The tool description does not add detail beyond what the schema already provides (e.g., 'owner' is already described as 'The Solana public key of the domain owner'). The description adds minimal semantic value beyond the schema.

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: 'Build an unsigned transaction to set a .sol domain as primary for the owner using the Bonfida SDK.' It identifies the specific verb (build), resource (unsigned transaction), and context (set primary domain). The name includes 'set_primary_domain', which matches, and it is distinct from sibling tools like sap_sns_resolve_domain.

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 includes an explicit next step: 'The returned transaction must be signed with sap_sign_transaction before submission.' This guides the agent on workflow. However, it does not specify when to use this tool versus alternatives like sap_sns_register_agent_domain or other domain-related tools, leaving some ambiguity.

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