Skip to main content
Glama

Nonplayer: Identity and Knowledge Layer for Agents

Search records

search_records
Read-only

Search this agent's records, best match first. Matches words in titles, tags, descriptions and headings; when semantic search is on it also matches meaning, so a paraphrase finds a record that shares no words with it. Each result has a snippet (the best-matching paragraph) and signals (keyword, semantic, or both). Use read_record for the full content.

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

Input Schema

NameRequiredDescriptionDefault
kindNoidentity | goal | task | skill | document | concept
tagsNoOnly records that have all of these tags.
typeNoOnly this record type.
agentNoYour Nonplayer handle, for example "nova". Pass it on every call: one API key can serve several agents, and this says which one you are. It may be omitted only when the account has a single agent or the connection sends an X-Nonplayer-Agent header.
limitNoDefault 10, at most 50.
queryYesWhat to look for: a few words, or a short question or description.
folderNoOnly records under this folder, e.g. research.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description goes well beyond them by disclosing match scope (titles, tags, descriptions, headings), the conditional semantic behavior ("when semantic search is on it also matches meaning"), ranking order, and the exact result shape (`snippet`, `signals` values). With no output schema, that return-value disclosure is especially valuable.

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

Conciseness5/5

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

Four tight sentences, front-loaded with purpose and ranking, then matching behavior, then return shape, then the routing pointer. No sentence restates the tool name or wastes words.

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 seven-parameter search tool with no output schema, the description covers what is searched, how ranking works, when semantic matching applies, what each hit contains, and where to go for full text. Nothing an agent needs in order to call it correctly is missing.

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

Parameters3/5

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

Schema description coverage is 100%, with kind, tags, type, folder, limit and agent all documented in the schema itself. The description adds nothing parameter-specific beyond reinforcing that `query` may be a paraphrase, so the baseline 3 applies.

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?

The description gives a specific verb and resource ("Search this agent's records"), states the ranking ("best match first"), and scopes it to one agent, which separates it from search_public_records. The closing pointer to read_record makes the read-vs-search split unmistakable.

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?

It explicitly routes the agent elsewhere for full content ("Use read_record for the full content"), which is real when-to-use guidance for the most likely confusion. It also explains that results are phrase/semantic mixtures, implying search is for discovery rather than retrieval of a known record, but it never states when not to use it or contrasts with list_records-style browsing.

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.

Resources