Skip to main content
Glama

read_protocol

Read-only

Retrieves Nostr protocol basics documentation for index, event, filter, client, or relay concepts to help agents understand core protocol behavior.

Instructions

Read Nostr protocol basics

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "doc": "<doc>"
    },
    "name": "read_protocol"
  }
}

Input Schema

NameRequiredDescriptionDefault
docYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the description earns no credit for restating that this is a read. It adds no behavioral context such as what the documents contain, whether the content is static, or how open-world lookups behave, which is a gap for a documentation-retrieval 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?

The description is a single short, front-loaded phrase with no wasted wording. Its brevity is efficient, though it leans toward under-specification rather than helpful concision.

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?

The tool is simple: one required enum parameter, no output schema, and annotations covering safety. For that complexity a brief description is tolerable, but it omits what the five document types mean and how this differs from sibling protocol readers, leaving meaningful gaps.

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 0% and the description never mentions the single required 'doc' parameter or its enum values (index, event, filter, client, relay). The enum labels are only partially self-explanatory, so the description should clarify what each document section covers but does not.

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

Purpose3/5

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

The description states a verb and resource ('Read Nostr protocol basics'), so the general intent is clear. However, 'basics' is vague and the definition never distinguishes this from siblings like read_nip, read_kind, or read_tag, so an agent cannot confidently tell which protocol-reading tool to pick.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance. The description does not say when to consult protocol basics versus read_nip, read_kind, read_tag, or read_nips_index, leaving the agent to guess from names alone.

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