Skip to main content
Glama

Create lore entity

create_lore_entity

Create a lore entity (NPC, location, item, faction) in a campaign you manage. Requires a write-enabled token.

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": {
      "campaign_id": "<campaign_id>",
      "entity_type": "<entity_type>",
      "name": "<name>"
    },
    "name": "create_lore_entity"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesEntity name.
statusNoe.g. 'active', 'inactive', 'dead'. Defaults to 'active'.
aliasesNoAlternate names.
propertiesNoFreeform key/value details.
campaign_idYesCampaign to create the entity in.
descriptionNo
entity_typeYese.g. 'character', 'location', 'item', 'faction'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already disclose non-read-only, non-destructive, non-idempotent behavior, and the description adds one genuinely useful piece of context: the write-enabled token requirement. However, it says nothing about duplicate handling on retry (relevant since idempotentHint is false), what happens to a name collision within a campaign, or what is returned on success.

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?

Two short sentences with zero filler; the core action and scope come first and the prerequisite follows. Nothing could be removed without losing content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter mutation tool with a nested freeform "properties" object and no output schema, the description leaves notable gaps: it does not state that campaign_id, entity_type and name are required, nor how the freeform properties blob is used, nor what the created entity looks like on return. The schema carries most of the load, but the description does not fully cover a tool of this complexity.

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 86%, so the baseline is 3; the description edges above it by naming the entity types that populate entity_type and clarifying the campaign scoping of campaign_id. Minor deduction: it lists "NPC" while the schema suggests "character" for that type, a small terminology mismatch the agent must reconcile.

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 pairs a specific verb ("Create") with a specific resource ("lore entity") and enumerates the concrete subtypes (NPC, location, item, faction). This clearly separates it from the get/update/delete/list lore siblings, though it never names an alternative explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"in a campaign you manage" and "Requires a write-enabled token" imply the prerequisites for use, but there is no explicit when-to-use versus when-not guidance or routing to siblings like update_lore_entity when the entity already exists.

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