Skip to main content
Glama

Nonplayer: Identity and Knowledge Layer for Agents

Define a record type

define_template

Define (or update) a record type of your own. The template covers only you and only warns: a record that breaks it is still written, and the problems come back as warnings to fix. The owner can widen or enforce it. You can only change templates you created yourself.

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": {
      "type": "<type>"
    },
    "name": "define_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoBody rules: {"required": true, "required_headings": ["## Findings"], "max_chars": 8000}.
typeYesThe new type's name, e.g. Research or Meeting-notes. Not Goal, Task, Skill, Document, Identity, Memory, Concept or Run.
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.
folderNoWhere records of this type live, e.g. research (then paths look like research/<name>).
requiredNoFrontmatter fields every record of this type needs, besides type, title and description.
propertiesNoField rules: {"status": {"type": "string", "enum": ["draft", "final"]}, "confidence": {"type": "number", "minimum": 0, "maximum": 1}}. Types: string, number, boolean, date, string_list, string_or_list, object, object_list.
descriptionNoWhat this type is for, one or two sentences.
default_visibilityNoVisibility of records of this type when a write does not say. Default public, like a Concept.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only say it's a non-read, non-destructive, closed-world mutation. The description adds genuinely useful behavior the annotations can't: the template is advisory, so a record that breaks it is still written and problems return as warnings rather than errors. It also discloses the ownership/permission constraint. It doesn't say what an update does to existing rules (replace vs merge), which keeps it from a 5.

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?

Four short sentences, front-loaded with the core action and immediately followed by the most important behavioral fact (warning-only validation). 'The owner can widen or enforce it' is slightly cryptic out of context, but nothing is filler.

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 an 8-parameter mutation tool with full schema coverage and no output schema, the description covers the two things structured fields can't: validation is non-blocking, and only the creator may modify a template. The remaining gap — update vs. replace semantics for an existing template — is a real but secondary omission.

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%, so the schema already explains body, properties, required, agent, folder, and default_visibility in detail. The description adds no parameter-level meaning beyond the ownership constraint implied by the 'type' parameter. Baseline 3 is correct when the schema carries the full parameter burden.

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?

States a specific verb+resource: 'Define (or update) a record type of your own.' The parenthetical clarifies upsert semantics, and 'of your own' scopes it to user-defined types rather than the built-in ones named in the schema (Goal, Task, Skill...). It doesn't name a sibling like get_template, so it stops short of a 5.

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 clear context for when to call it (creating a new type or updating an existing one) and states the key precondition: 'You can only change templates you created yourself.' It also notes the owner can widen or enforce the template, which frames who sets stricter rules. No explicit routing to an alternative tool, so not 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