Skip to main content
Glama

master_pubkey

Derive an account's master public key from the ledger to configure a qkey_guard hook. If the master key never signed, returns found=false.

Instructions

Derive an account's MASTER public key from the ledger — the SigningPubKey of any self-originated tx whose pubkey hashes to the account's own AccountID. Needed to configure a qkey_guard hook (its MPK param). Returns found=false if the master key has never signed (then the pubkey is not on-ledger). Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountYes
networkNomainnet
Behavior4/5

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

With no annotations provided, the description labels the tool as 'Read-only,' indicating no state changes. It also describes the condition (found=false) for unresolved keys. Missing detail on what the successful response contains beyond the key itself, but the read-only safety is clear.

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 four focused sentences, front-loaded with the core action. It uses precise terminology without extraneous words. Every sentence adds value: derivation logic, use case, edge case, and safety.

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

Completeness3/5

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

Given two parameters and no output schema, the description covers the core purpose and a key condition (found=false). However, it does not describe the return format or the effect of the network parameter. For the complexity level, it lacks full completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, yet the description adds no details about the parameters. The account parameter is implied but not named, and the network parameter is completely omitted. The description fails to compensate for the lack of schema documentation.

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 derives the master public key from the ledger using a specific method (self-originated tx pubkey matching AccountID). It distinguishes from sibling tools like get_account_info by focusing on a specific cryptographic key derivation.

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 states a use case: 'Needed to configure a qkey_guard hook (its MPK param).' It also mentions when it returns found=false, indirectly guiding against use when the key hasn't signed. However, it lacks explicit alternative tool comparisons or when-not-to-use scenarios.

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/Hugegreencandle/xahau-mcp'

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