Skip to main content
Glama

nope-mcp — Open Educational Resources search

Resolve Author Name to Pubkey

resolve_author
Read-onlyIdempotent

Resolve an org or person NAME to candidate pubkeys using the relay's kind-0 author-profile index (NIP-50 search). Use this to answer name-driven content questions like "recent articles and resources of Jörg Lohrer": call resolve_author(name), pick the best candidate, then pass its pubkey to search_content({ authors: [pubkey], ... }) (and/or search_calendar_events) to fetch that author's content. Returns several candidates ranked by relevance so you can disambiguate. This indexes authors who have published content here — distinct from list_known_authors, which lists hand-curated follow sets. NOTE: this resolves only kind-0 author profiles. It does NOT resolve a community's identifying pubkey — a community is defined by a kind-10222 event and frequently has no kind-0 at all. To list content shared into a community you need that community pubkey (a Nostr identifier, e.g. from the community's spec/naddr), which you pass to the community param of search_content / search_calendar_events. resolve_author CAN, however, find a community's posting account (e.g. a "…-Termine-Bot") when that account has a kind-0; querying that pubkey via authors:[...] returns the content it published. A wrong pick simply yields empty results.

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": {
      "name": "<name>"
    },
    "name": "resolve_author"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesOrg or person name to resolve (e.g. "Jörg Lohrer").
limitNoMax candidates (1-25, default 10).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only cover read-only/idempotent safety; the description adds substantive behavior: results come back as multiple ranked candidates, the index covers only authors who have published content there, and a wrong selection degrades gracefully to empty results rather than an error. It also discloses a real limitation (kind-0 only, communities defined by kind-10222 usually have none).

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 core purpose and the call chain, then qualifications. It is dense rather than padded, though the community-pubkey discussion is long enough that it reads as two topics merged into one description; a slightly tighter phrasing would lose nothing.

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

Completeness5/5

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

Covers everything an agent needs for a read-only lookup with no output schema: what the input means, that output is a ranked candidate list, how to chain into content searches, and the boundary case that would otherwise cause silent empty results. Nothing material is left to inference.

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 100%, so `name` and `limit` are already documented, establishing a baseline of 3. The description adds meaning beyond that by framing `name` as an org-or-person query whose result is a set of candidates to disambiguate, which shapes how the agent should read the input and its cardinality.

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 ('Resolve an org or person NAME to candidate pubkeys') plus the underlying mechanism (relay kind-0 author-profile index, NIP-50). It explicitly separates itself from list_known_authors (curated follow sets) and from community pubkey resolution, so an agent can place it precisely among siblings.

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

Usage Guidelines5/5

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

Gives a concrete end-to-end workflow: call resolve_author(name), pick a candidate, pass the pubkey to search_content({authors:[...]}) or search_calendar_events. It also states a when-not case (does NOT resolve a community's identifying pubkey; use the `community` param instead) and notes the fallback case where a community bot account has a kind-0.

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.