Skip to main content
Glama

list_entities

Read-only

Lists a campaign's entities of one type with a short summary of each.

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": {
      "campaignId": "<campaignId>",
      "entityType": "<entityType>"
    },
    "name": "list_entities"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of entities to return (default 20, at most 200).
campaignIdYes
entityTypeYesEntity type: NPC, MONSTER, LOCATION, FACTION, ENCOUNTER, LORE, ITEM, QUEST, PLAYER, PARTY or SESSION.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The readOnlyHint and openWorldHint annotations already establish that this is a safe, non-destructive read. The description adds that each entity comes with a short summary, which is useful return-context, but it does not mention pagination behavior, ordering, or authorization requirements beyond what the schema implies.

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 a single front-loaded sentence with no wasted words. It communicates the core operation and result shape efficiently.

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 a simple three-parameter list tool with annotations covering safety, the description is largely complete: it states scope, the one-type filter, and that each result has a short summary. The main omission is any explanation of what the short summary contains or how results are ordered.

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 coverage is 67%, with limit and entityType described but campaignId left undocumented. The description only implicitly maps 'campaign's' to campaignId and 'one type' to entityType, adding little beyond the schema while not compensating for the missing campaignId detail.

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 clearly states the verb and resource: it lists a campaign's entities, scoped to one entity type. It does not explicitly distinguish itself from siblings such as search_entities or get_related_entities, but the purpose is still clear from the text alone.

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?

The phrase 'of one type' implies this is for enumerating entities of a single kind within a campaign. However, there is no explicit when-to-use guidance, no exclusions, and no named alternative for filtered searches or single-entity retrieval.

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