Skip to main content
Glama

search_community_nips

Read-only

Search community-published Nostr NIPs by keyword, kind, or author, or omit the query to list recent documents; get previews and naddr identifiers for fetching full events.

Instructions

Discover NostrHub community NIPs. Search keywords, or omit query for recent documents. Returns previews and naddr identifiers to read with fetch_event. Results depend on relay coverage and are not official NIP endorsements.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_community_nips"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoEvent kind documented by the community NIP
limitNo
queryNo
authorNoAuthor public key in hex

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, and the description adds real value on top: results are relay-coverage dependent and are explicitly not official NIP endorsements, which tells the agent how much to trust output. It also discloses the return shape (previews plus naddr identifiers) and the intended follow-up call.

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?

Four short sentences, front-loaded with the core action, with no filler or repetition. The only mild weakness is the clipped 'Search keywords' phrasing and the run-on nature of the final caveat sentence.

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

Completeness4/5

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

For an all-optional, read-only search with no output schema, the description covers purpose, the key parameter branch, result format, trust caveats, and the follow-up tool. Ordering of 'recent documents' and limit/paging behavior are the remaining gaps, which are modest.

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

Parameters4/5

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

Schema coverage is only 50% (limit and query carry no schema description), so the description must compensate, and it does for the most important gap: 'query' means keyword search and omitting it means 'recent documents'. The kind and author parameters are documented in the schema itself; only limit goes unexplained, which is a minor omission given its default and bounds.

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 and resource ('Discover NostrHub community NIPs') and clearly marks the follow-up path ('previews and naddr identifiers to read with fetch_event'). It stops short of distinguishing this from siblings like read_nips_index or read_nip, so an agent still has to guess which NIP-reading tool is the right entry point.

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 branch conditions: supply keywords to search, or omit query to get recent documents. It also names fetch_event as the natural next step, forming a usable workflow. It does not say when to prefer this over read_nips_index or read_nip, so sibling exclusions are absent.

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