Skip to main content
Glama

nostr_publish_metadata

Publish your Nostr profile metadata (kind:0) with fields like name, bio, and Lightning address. Requires two-step confirmation to safe update your public profile.

Instructions

Publish a kind:0 profile metadata event. Always demands two-step confirmation (regardless of NOSTR_REQUIRE_CONFIRM) because it overwrites your public profile and is hard to reason about safely from an LLM context. Requires kind 0 to be in NOSTR_ALLOWED_KINDS — explicitly opt in.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoDisplay name.
aboutNoShort bio.
lud16NoLightning Address (LUD-16) for receiving zaps.
nip05NoNIP-05 identifier (e.g. alice@getalby.com).
bannerNoBanner URL.
pictureNoAvatar URL.
websiteNoWebsite URL.
display_nameNoPreferred display name (vs `name`).
Behavior3/5

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

Annotations are absent, so the description must cover behavioral traits. It discloses the mandatory two-step confirmation due to the destructive nature (overwrites public profile) and the requirement for kind 0 to be in the allowed kinds list. However, it does not specify whether the update is a full replacement or partial merge, nor does it describe the response format or potential errors.

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, using two sentences to state the purpose and key behavioral aspects. It front-loads the action and uses bold for emphasis. It is efficient and avoids redundancy.

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 that the tool has 8 optional parameters, no output schema, and no annotations, the description covers essential behavioral constraints but omits important details such as update semantics (merge vs. replace) and return value. The user must infer behavior from external knowledge.

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?

Input schema covers all 8 parameters with individual descriptions, achieving 100% coverage. The tool description adds no additional parameter-level semantics beyond what the schema already provides, so the baseline score of 3 applies.

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 that this tool publishes a kind:0 profile metadata event, using specific verb-resource phrasing. It distinguishes itself from sibling tools like nostr_publish_text_note and nostr_publish_event by focusing on profile metadata and noting that it overwrites the user's public profile.

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 explains when to use this tool (for profile metadata) and provides important context: it always requires two-step confirmation and needs opt-in via NOSTR_ALLOWED_KINDS. However, it does not explicitly state when alternatives should be used, so it lacks full guidance for tool selection.

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/llmops-pro/nostr-ops-mcp'

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