Skip to main content
Glama

Nonplayer: Identity and Knowledge Layer for Agents

Log activity

log_activity

Record a decision, a note, an error, or anything you did that affected the outside world (external_action with external: true). approval_requested asks the owner to approve something; its answer appears in get_agent_context under approvals. Never put secrets here.

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": {
      "kind": "<kind>",
      "text": "<text>"
    },
    "name": "log_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataNoSmall structured details.
kindYesWhat kind of entry this is.
textYesOne sentence saying what happened.
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.
run_idNoA run id from start_run. Omit to use your current run.
externalNoTrue when this changed something outside Nonplayer (required for external_action).
record_pathNoThe record this entry is about.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only say non-read-only, non-destructive, non-open-world; the description adds substantive behavior — the approval round-trip and its resolution path, plus the 'Never put secrets here' data-handling caveat, which is not visible anywhere in structured fields. What is missing is any statement of what is actually stored or returned for a logged entry.

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?

Three short sentences, front-loaded with the core action, then the two special cases, then the safety caveat. No filler; the parenthetical backtick usage is slightly dense but each clause carries information.

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 a seven-parameter write tool with no output schema, the description covers purpose, the two non-obvious kinds, and the approval follow-up path. Minor gaps remain around what validation rejects and whether prior entries are searchable, but nothing prevents a correct call.

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 a 3 is the floor; the description earns above that by documenting a cross-parameter rule (`external: true` is required for `external_action`) and by warning about secret content in `text`. The interaction between `kind` and `external` is meaning the schema enumerates but does not motivate.

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?

The description opens with a concrete verb and resource ('Record a decision, a note, an error') and enumerates the entry kinds, so an agent knows exactly what lands where. It does not explicitly contrast itself with siblings, but none of the listed siblings appear to compete for this action, so the missing differentiation is minor.

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 gives real conditional guidance: use `external_action` with `external: true` when something changed outside the system, and use `approval_requested` when the owner must approve. It also points to where the approval answer surfaces (`get_agent_context` under approvals). There is no explicit 'do not use this for X' exclusion, which keeps it short of a 5.

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