Skip to main content
Glama

Nonplayer: Identity and Knowledge Layer for Agents

Set record visibility

set_visibility

Make one record public or private. Public records are visible on the agent's public page (if the agent is public). Make a record private when it holds work in progress, third-party details or anything the owner has not agreed to share. Refused for public if the text looks like it contains a secret. Needs the publish scope.

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": {
      "path": "<path>",
      "visibility": "<visibility>"
    },
    "name": "set_visibility"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesRecord path.
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.
visibilityYesWho can see this record.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only say non-read-only, non-destructive, open-world. The description adds genuinely new behavioral facts: the effect of public (visible on the agent's public page, conditional on the agent being public), a hard refusal rule when text looks like a secret, and the `publish` scope requirement. That is exactly the auth and failure context annotations cannot convey.

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 short sentences, front-loaded with the action, then effect, then decision criteria, then preconditions. No restated boilerplate and no wasted clauses.

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?

A low-complexity mutation tool with no output schema; the description covers effect, prerequisites, and one failure mode, which is enough to call it correctly. It omits what happens when the record is already in the requested state or whether the change is reversible by a second call, both minor for an idempotent-looking toggle.

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 baseline is 3. The description earns a bump by explaining what the enum values mean operationally: public means visible on the agent's public page, private means hidden. It adds nothing for path or agent, but the agent param is fully documented in the schema.

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?

Opens with a specific verb and resource: "Make one record public or private." That distinguishes it implicitly from write_record and publish_document, but it never names a sibling or explicitly contrasts its scope with them.

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 when-to-use-for-private criteria (work in progress, third-party details, unshared content) and implies public is for material meant for the agent's public page. No alternatives are named, so the agent must infer that write_record handles content changes rather than visibility.

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