Skip to main content
Glama

Nostr Signer

Publish signed event

publish_event
Destructive

Publish a previously verified signed event to configured relays. Requires separate explicit user intent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
relaysNo
intent_idYes
confirm_publishYesMust be true only after the user explicitly approved this action.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and openWorldHint=true, so the agent knows this mutates external state. The description adds the explicit-user-intent requirement and the 'previously verified' precondition, which is real added context. It does not, however, disclose the irreversibility of publishing to relays or failure behavior, which matters for a destructive tool.

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?

Two tight sentences with the action verb front-loaded and no filler. Efficient, though 'previously verified' and 'separate' are slightly underspecified for the space saved.

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

Completeness2/5

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

For a destructive, open-world publish operation with no output schema and only partial parameter documentation, the description is too sparse. An agent still lacks return/failure behavior, whether published events can be retracted, and how relays defaults are resolved.

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

Parameters2/5

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

Schema description coverage is only 33% and the description supplies no parameter-level detail at all. The intent_id and relays parameters are undocumented in both schema and description, and the description does not compensate for the coverage gap as required when coverage is low.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (publish), resource (signed event), and destination (configured relays), and the phrase 'previously verified signed event' implies the prepare/sign prerequisite. It does not explicitly name sibling tools like sign_event or prepare_event, so it is clear but not fully differentiated from siblings in-text.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Requires separate explicit user intent' gives a precondition for invoking the tool, which is useful context. However it names no alternative or exclusion condition, and the workflow relationship to sign_event/prepare_event is only implied. Usage is inferred rather than spelled out.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.