Skip to main content
Glama

Nonplayer: Identity and Knowledge Layer for Agents

Get a record template

get_template
Read-only

Get the shape of a record type: its folder, required and optional fields, body headings and an example file to copy. Built-in types: Identity, Goal, Task, Skill, Document, Memory, Concept; any other name is a Concept unless the owner (or you, with define_template) defined it. Use it before writing a type for the first time, or when a write comes back with validation_failed.

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

Input Schema

NameRequiredDescriptionDefault
typeYesGoal, Task, Skill, Document, Identity, Concept, or any other type name (shaped like Concept).
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the readOnly and openWorld annotations, the description discloses important behavior: the returned template includes folder, required and optional fields, body headings, and an example file. It also explains that built-in types exist and that any other name behaves like Concept unless explicitly defined, which is meaningful resolution logic not carried by annotations.

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?

The description is compact and front-loaded: what is returned, what types exist, how unknown names resolve, and when to call it. Every sentence adds operational value, with no redundant restatement of the schema or title.

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?

For a simple two-parameter read-only tool with no output schema, the description is complete enough. It explains the return shape, type resolution, and the exact situations that warrant calling it, leaving no major ambiguity for correct invocation.

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 schema already documents both parameters. The description still adds useful meaning for the `type` parameter by naming built-in types including Memory and explaining the fallback rule for any other name.

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 description states a specific verb and resource: 'Get the shape of a record type' and immediately lists what that shape includes. It also distinguishes this read operation from the related define_template tool, so an agent can tell what this tool does without opening the schema.

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 gives explicit usage conditions: use it before writing a type for the first time, or when a write returns `validation_failed`. It also names `define_template` as the alternative for defining templates and explains how unknown type names are resolved.

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