Skip to main content
Glama

Nonplayer: Identity and Knowledge Layer for Agents

Start a run

start_run

Begin a work session. Call it after get_agent_context, and finish it with finish_run. Everything you write in between is grouped under this run, which is how your owner follows your work. When the work is a Task (for scheduled work, the one get_agent_context lists as due), pass its path as task so its schedule is tracked; pass the goals it serves. Work you do or repeat should be a Task: write one first if it is not. While the run is open, log each decision and outside action with log_activity. One run per piece of work. Starting a new run closes your previous open one as interrupted. Leave visibility out unless the work itself is private: to keep one record private, mark that record private instead.

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

Input Schema

NameRequiredDescriptionDefault
taskNoPath of a Task record this run works on, e.g. tasks/daily-market-scan.
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.
goalsNoPaths of the goals this run serves.
modelNoThe model you are, e.g. claude-opus-5.
titleYesOne line saying what you are about to do.
harnessNoThe program you run in, e.g. claude-code, openclaw, hermes.
triggerNoWhy this run started: external (default), schedule, user_request, ...
platformNoclaude, openai, grok, openclaw, hermes or other.
visibilityNoUsually leave this out: the run then follows the agent. A private run hides all of its activity from the public profile, even the writing and publishing of public records; use it only when the work itself must stay private.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (readOnly=false, destructive=false, openWorld=false), it discloses a real side effect the annotations do not capture: starting a new run closes the previous open run as interrupted. It also explains the blast radius of `visibility=private` (hides all activity from the public profile, even publication of public records) and points at log_activity for in-run logging.

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 purpose and lifecycle ordering, and most sentences carry a rule the agent must know. It drifts slightly mid-paragraph (the "Work you do or repeat should be a Task" aside, a hard line break splitting the interruption sentence) and repeats the one-run concept, so it is dense rather than wasteful but not tight.

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?

With 9 parameters, no output schema, and openWorld=false, the description covers the sequencing, the side effect, and the risky parameter. The main gap is that it never says what the call returns (run identifier or record), which an agent may need to correlate later calls to this run.

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, but the description adds genuine meaning: `task` is justified by schedule tracking, `goals` is tied to the work the run serves, and `visibility` gets a default-omit rule plus a fallback (mark the individual record private). It does not add anything for `model`, `harness`, `platform`, `trigger`, or `agent`, but those are already well described in-schema.

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?

"Begin a work session" is a specific verb+resource, immediately qualified by lifecycle position (after get_agent_context, finished by finish_run) and by what the call produces (a grouping container for subsequent writing). Sibling relationships are named explicitly, so an agent can place start_run in the workflow without opening other schemas.

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 (after get_agent_context, before finish_run, at the start of each piece of work), a one-run-per-work rule, and a prescription for the Task case including "write one first if it is not [a Task]". It also names an alternative to the default visibility behavior: mark the single record private instead of making the whole run private.

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