Skip to main content
Glama

nope-mcp — Open Educational Resources search

Search Educational Content (resources, articles, wikis, projects, measures, publications)

search_content
Read-onlyIdempotent

Topic search across ALL content types on the relay in one ranked call: educational resources (kind 30142), long-form articles/blogs (30023), wikis (30818), projects (30143), measures (30144), and NKBIP-01 publications (30040 indices + 30041 sections — scientific articles, books). Results are interleaved and ranked by semantic passage match, and each carries the matched passage ("snippet") when available — use it to answer the user, not just list links. Every learning resource is returned by default, whatever its license; each resource result carries license ({id, label}, or null when unlicensed) and accessLevel ("full" for Creative Commons, Public Domain and free software/documentation licenses, and DINI-AG-KIM license types that resolve to one of these; "metadata-only" otherwise). Snippets and passages exist only for accessLevel:"full" resources — present a "metadata-only" resource by its title, description, license and link, never quoted beyond its metadata, and always name the license and the creator/publisher. licenseFilter narrows the results: "open" = CC0, Public Domain, CC BY, CC BY-SA, their DINI-AG-KIM license-type equivalents, and free software/documentation licenses (GPL, LGPL, AGPL, GFDL, MIT, Apache 2.0, BSD); "cc-any" = all of "open" plus every other Creative Commons license, incl. KIM non-commercial/no-derivatives; "any" = also unlicensed and all-rights-reserved resources. The other content types carry no license and are always included. This is the tool for DISCOVERY intent — the user wants materials to browse ("finde/suche/empfiehl Materialien zu X"): present the items. For QUESTION intent — the user wants an answer built from the content ("wie/warum/was hilft bei X?") — prefer search_passages, which returns quotable fulltext passages with citations; this tool then supplements the answer with browsable links. Each result carries eventAuthor (the Nostr signer who uploaded the event — often an aggregator) plus, for resources, creator/publisher (who actually made and published the resource); these can differ, so do not treat eventAuthor as the publisher. For full metadata (license, dates, complete entity lists) pass a result's naddr to get_resource. Publication facets ride inside the query string as NIP-50 field filters: append type:academic, doi:10.1234/abcd.5678, keywords:, or partOf:30143:: ("publications of a project") to the query — the relay resolves them server-side. When presenting results to the user, render each as a markdown link so they can open it directly — prefer sourcePage (the original external source page, present on most resources and on projects/measures/publications), then url, then naddr. For upcoming events on the same topic, follow up with search_calendar_events.

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_content"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (1-250, default 20).
queryNoFree-text topic (e.g., "Unaufmerksamkeit im Seminar"). Keep it to the TOPIC only — do not append actor/organization names ("… Lehreladen"): they dilute the semantic ranking and the actor's content drops out of the top results. To constrain by actor, resolve the name first (resolve_author → authors param here; or resolve_publisher → search_resources publisherName).
sinceNoCreated at or after this Unix timestamp.
typesNoRestrict to a subset of content types. Default: all of them.
untilNoCreated at or before this Unix timestamp.
relaysNoRestrict the search to specific relays. Only relays returned by list_relays (default or extra) are accepted, by full URL or short name (e.g. "oersi", "sodix"). Default: the default relay set.
authorsNoFilter by author pubkeys (hex).
compactNoReturn only naddr, title and relay per result. For clients that hold the events already and need the order alone; keeps a long list small enough for the Nostr transport.
languageNoLabel language (default "de").de
communityNoReturn content shared into this community (Communikey). Accepts a hex pubkey or npub. Resolve a community name with find_community (when available) or resolve_author. Combine with query to scope a topic to a community (e.g. "math resources shared with X").
extraRelaysNoUp to 3 further relay URLs (wss://, public hostname) to search in addition, for this call only: use when the user names a relay ("also search wss://…"). Nothing is stored. Their hits are merged with the others.
lessFittingNoBy default only learning resources that fit the question are returned (topic and, if named, educational level), so a result can be empty. Set true to get the hits that were held back instead: loosely related material, to offer as "less fitting" when the user asks for more.
licenseFilterNoRestrict educational-resource results by license: "open" (CC0, Public Domain, CC BY, CC BY-SA, their DINI-AG-KIM license-type equivalents, and free software/documentation licenses (GPL, LGPL, AGPL, GFDL, MIT, Apache 2.0, BSD)), "cc-any" (all of "open" plus every other Creative Commons license, incl. KIM non-commercial/no-derivatives) or "any" (every resource, including unlicensed and all-rights-reserved). Default: the server's ceiling (normally any). Other content types are never license-filtered.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / lessFitting
      Added value: +{
      +  "description": "By default only learning resources that fit the question are returned (topic and, if named, educational level), so a result can be empty. Set true to get the hits that were held back instead: loosely related material, to offer as \"less fitting\" when the user asks for more.",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / compact
      Added value: +{
      +  "description": "Return only naddr, title and relay per result. For clients that hold the events already and need the order alone; keeps a long list small enough for the Nostr transport.",
      +  "type": "boolean"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / extraRelays
      Added value: +{
      +  "description": "Up to 3 further relay URLs (wss://, public hostname) to search in addition, for this call only: use when the user names a relay (\"also search wss://…\"). Nothing is stored. Their hits are merged with the others.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 3,
      +  "type": "array"
      +}
  4. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  5. 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
  6. Changed2 schema fields changed
    • changedInput schema / properties / community / description
      Previous value: -"Return content shared into this community (Communikey). Accepts a hex pubkey or npub. Resolve a community name to its pubkey with resolve_author. Combine with query to scope a topic to a community (e.g. \"math resources shared with X\")."New value: +"Return content shared into this community (Communikey). Accepts a hex pubkey or npub. Resolve a community name with find_community (when available) or resolve_author. Combine with query to scope a topic to a community (e.g. \"math resources shared with X\")."
    • addedInput schema / properties / query / maxLength
      Added value: +500
  7. Changed1 schema field changed
    • changedInput schema / properties / licenseFilter / description
      Previous value: -"Restrict educational-resource results by license: \"open\" (CC0, Public Domain, CC BY, CC BY-SA), \"cc-any\" (all Creative Commons and Public Domain) or \"any\" (every resource, including unlicensed and all-rights-reserved). Default: the server's ceiling (normally any). Other content types are never license-filtered."New value: +"Restrict educational-resource results by license: \"open\" (CC0, Public Domain, CC BY, CC BY-SA, their DINI-AG-KIM license-type equivalents, and free software/documentation licenses (GPL, LGPL, AGPL, GFDL, MIT, Apache 2.0, BSD)), \"cc-any\" (all of \"open\" plus every other Creative Commons license, incl. KIM non-commercial/no-derivatives) or \"any\" (every resource, including unlicensed and all-rights-reserved). Default: the server's ceiling (normally any). Other content types are never license-filtered."
  8. Changed1 schema field changed
    • addedInput schema / properties / licenseFilter
      Added value: +{
      +  "description": "Restrict educational-resource results by license: \"open\" (CC0, Public Domain, CC BY, CC BY-SA), \"cc-any\" (all Creative Commons and Public Domain) or \"any\" (every resource, including unlicensed and all-rights-reserved). Default: the server's ceiling (normally any). Other content types are never license-filtered.",
      +  "enum": [
      +    "open",
      +    "cc-any",
      +    "any"
      +  ],
      +  "type": "string"
      +}
  9. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing ranking behavior (interleaved, semantic passage match), snippet availability limited to accessLevel:"full", the eventAuthor-vs-creator distinction, empty-result defaults, and that extraRelays are not persisted. One residual tension: the description advertises arbitrary public relay URLs for the call while openWorldHint=false declares a closed world, and the relays param says only list_relays entries are accepted, which mildly muddies the external-scope picture.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the scoping statement and intent routing, which is good, but the body is a dense block that duplicates the license/accessLevel definitions verbatim between prose and the licenseFilter schema field. Several clauses (license tiers, snippet rules) could be tightened without losing information.

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?

For a 13-parameter, no-output-schema tool, the description covers what an agent needs: result fields (snippet, license, accessLevel, eventAuthor, sourcePage, url, naddr), how to present metadata-only items, and how to render links. Nothing required to call or to use the output correctly is missing.

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 the baseline is 3, and the description earns an extra point by documenting the NIP-50 facet syntax (type:, doi:, keywords:, partOf:30143:<pubkey>:<d>) that is not expressible in the schema's plain string param. The long licenseFilter enumeration largely restates the schema rather than adding to it.

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 with full scope: "Topic search across ALL content types on the relay in one ranked call" and then enumerates the six content kinds with their numeric event kinds. It also explicitly distinguishes itself from search_passages by intent, so an agent can separate the two without opening either schema.

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 explicit when-to-use guidance keyed to intent (DISCOVERY vs QUESTION), names the alternative tool (search_passages) for the other intent, and points to get_resource for full metadata and search_calendar_events for follow-up. It also explains when results can be empty and how lessFitting changes that, which is a usage decision the agent must make.

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.