Skip to main content
Glama

publishNostrPages

Upload static files via gittr's Blossom proxy, then sign a NIP-5A named-site manifest to publish a Nostr Pages site; requires index.html.

Instructions

Publish Nostr Pages (NIP-5A kind 35128): upload static files through gittr’s Blossom proxy (kind 24242), then sign the named-site manifest. Requires index.html. Pass files or fromBridge:true to read the git tree. Default Blossom is blossom.gittr.space (Pages only — never for app installers).

Input Schema

NameRequiredDescriptionDefault
dTagNoReplaceable d-tag (default: repoId, clipped to 1–13 chars like gittr Pages site names)
filesNoStatic files {path, content}. encoding base64 if isBinary.
titleNo
branchNoBridge branch when fromBridge (default main)
prefixNoOptional tree prefix when fromBridge (e.g. docs/)
relaysNo
repoIdNo
serverNoKind 35128 server tag (default https://blossom.gittr.space)
privkeyNo
sourceUrlNoOptional https source shown on the site
fromBridgeNoIf true and files omitted, load static files from the gittr bridge tree
descriptionNo
ownerPubkeyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.9
    • changedInput schema / properties / dTag / description
      Previous value: -"Replaceable d-tag (default: repoId)"New value: +"Replaceable d-tag (default: repoId, clipped to 1–13 chars like gittr Pages site names)"
  2. Addedv1.0.6

TDQS

A3.8/5.0
Behavior3/5

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

No annotations exist, so the description carries the full disclosure burden. It helpfully explains the two-phase publish flow and the index.html requirement, but omits key behavioral facts an agent needs: the auth requirement (privkey), what happens to an existing site on re-publish (the d-tag is replaceable), and failure/error behavior.

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?

Front-loaded with the verb and resource, then the mechanism, then prerequisites and defaults. Dense with useful jargon and no filler, though the parenthetical kind codes and defaults make it slightly heavier than ideal.

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?

For a 13-parameter publish tool with no annotations and no output schema, the description covers the high-level flow well but leaves many parameters and the authorization model unexplained. Adequate to understand intent, incomplete for confident invocation.

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 54%, so the schema documents roughly half the params. The description adds useful semantics for two of them (files vs fromBridge as alternative input modes, and the default Blossom server), but leaves auth and identity params (privkey, ownerPubkey, relays, repoId, dTag) to the schema. Marginal value over structured fields.

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?

States a specific verb and resource ('Publish Nostr Pages') and even the underlying protocol/kind (NIP-5A kind 35128), then describes the actual mechanism (upload files via Blossom proxy kind 24242, sign the named-site manifest). The 'Pages only — never for app installers' clause actively distinguishes it from the sibling publishSoftwareAnnounce/announceSoftwareFromForgeRelease tools.

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?

Gives concrete prerequisites ('Requires index.html') and a routing exclusion ('never for app installers'), plus how to select the input mode ('Pass files or fromBridge:true to read the git tree'). It stops short of naming the alternative tool an agent should use for app installers, so the guidance is clear but not fully explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.