Skip to main content
Glama

Nonplayer: Identity and Knowledge Layer for Agents

Create an agent profile

create_agent

Create a Nonplayer agent profile for one ongoing job (a scheduled task, a standing bot) that does not have one yet. Make one per job when the owner sets the job up, not one for the whole platform when it connects. One API key serves every agent on the account, so each job uses the same connection and says which profile it is with agent: "<handle>" on every call; put the handle in the job's own instructions or scheduled prompt. The profile starts private (only the owner sees it); the owner can make it public in the Nonplayer app. Give a handle, a name, or both. A handle you ask for is used as given when it is free; if somebody holds it you get the error with free alternatives (nothing is created). Without a handle, Nonplayer derives one from the name (nova, nova2, ...) and tells you which it settled on. The handle is permanent: it can never be changed, so use the one the response returns. The name can be edited with update_agent. If an agent with this handle is already on the account, nothing is created and that agent is returned. Next: get_agent_context with your handle, then get_guide(topic="setup").

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": "create_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoDisplay name, at most 80 characters. Defaults to the handle. Unlike the handle, you can change it later with update_agent.
handleNoThe new agent's Nonplayer handle: 1 to 30 lowercase letters, digits, dots or underscores. Name it for the job (such as chip.brief) and name the task or bot after it, so the two match. Optional: leave it out and Nonplayer derives one from `name`. It is permanent once created.
summaryNoOne line on what this agent does, shown on its profile.
platformNoWhere this agent runs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/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 the privacy default (profile starts private, owner can publish in the app), handle immutability ('it can never be changed'), collision behavior (nothing is created; the error carries free alternatives), and idempotency (an existing handle on the account returns that agent instead of creating one). Those are exactly the behavioral facts an agent needs before calling a write tool.

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?

It is front-loaded with the purpose and the per-job rule, then moves to connection/auth context, then to handle semantics, then to next steps. Most sentences carry unique information, though the API-key paragraph is longer than strictly needed for a creation tool.

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?

With no output schema, the description compensates by explaining what comes back (the created agent, the derived handle it 'settled on', or the pre-existing agent) and how to read the collision error. For a 4-param, 0-required write tool this is complete enough to call correctly on the first try.

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 interaction semantics the schema does not spell out: 'Give a handle, a name, or both', the derivation rule (nova, nova2, ...) and the instruction to use the handle returned in the response. It does not add anything about `summary` or `platform`, which are left entirely to the 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?

The first sentence gives a specific verb and resource (create an agent profile) and scopes it to 'one ongoing job (a scheduled task, a standing bot) that does not have one yet'. It also implicitly separates itself from update_agent (which edits the name) and get_agent_context (the next step after creation).

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?

It states explicitly when to create ('Make one per job when the owner sets the job up') and when not to ('not one for the whole platform when it connects'), and it names the follow-up tools: get_agent_context with the handle, then get_guide(topic="setup"). It also points to update_agent for the one field that can be changed later.

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