Skip to main content
Glama

Leonida Atlas

Find entities

find_entities
Read-onlyIdempotent

Filter, sort and page entities with provenance. Every fact has a status (confirmed, community-reported, estimated, speculative, unknown) and a source; unknown facts are null, never guessed. coverage tells you how many matches know the sort/filter key. Examples: {type:'vehicle', where:'mapGroups=Hyper', chapter:3}; {type:'property', sort:'vehicleCapacity'}; {type:'robbery', sort:'payoutMax'}; {type:'mission', inChapter:3, sort:'order', order:'asc'} (the missions of Chapter 3; chapter:3 means available by Chapter 3); {completedMission:'mission:credit-check', type:'vehicle'}; add fields:'payoutMax,securityLevel' to keep results small.

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

Input Schema

NameRequiredDescriptionDefault
qNoWords to match in name, summary and facts, e.g. 'Emerus', 'jewelry', 'truck'
hasNoOnly records where this fact key is known, e.g. 'payoutMax'
sortNoFact key to sort by, e.g. 'payoutMax', 'swankness', 'topSpeed'. Unknown values sort last.
typeNo
limitNo
orderNo
whereNoExact fact filter, key=value, e.g. 'mapGroup=Hyper' or 'securityLevel=high'
fieldsNoComma-separated fact keys to return, e.g. 'payoutMax,securityLevel'; drops other facts and relations to keep results small. Use get_entity for the full record.
offsetNo
statusNoOnly records with at least one fact of this status
chapterNoOnly what is available by this story chapter. Records whose chapter is unknown are kept and flagged unless strictChapter is true.
inChapterNoOnly records that belong to exactly this chapter, e.g. the missions of Chapter 3 (chapter=3 means 'available by Chapter 3', which includes Chapters 1 and 2).
strictChapterNoDrop records whose chapter is unknown
completedMissionNoA mission id or name the player has just completed, e.g. 'mission:credit-check'. Sets `chapter` to that mission's chapter.

Output Schema

NameRequiredDescriptionDefault
itemsYes
limitYes
totalYes
offsetYes
coverageYes
nextOffsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the description's added context is what counts: it explains the status taxonomy, guarantees unknown facts are null rather than guessed, and explains that `coverage` reports how many matches know the sort/filter key. That is genuinely useful behavioral context beyond the annotations, though it does not discuss result size limits or pagination behavior.

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?

Front-loaded with the core action and the provenance rule, then a compact set of examples. It is dense and example-heavy in a single block, which slightly hurts scannability, but essentially every sentence carries information.

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 14-parameter query tool with an output schema, the description supplies the semantic model (statuses, provenance, coverage, chapter scoping) an agent needs to call it correctly. Pagination/limit behavior is left entirely to the schema, which is acceptable given the output schema exists.

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 71%, so the schema documents most parameters on its own. The description adds value by contrasting chapter versus inChapter (available-by vs exactly-this-chapter) and by giving combined-parameter examples that show how filters compose, plus the fields trick for shrinking results.

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?

States a specific verb set (filter, sort, page) on a specific resource (entities) and adds the differentiator that results carry provenance. It also names get_entity as the alternative for full records, so an agent can distinguish it from siblings without reading 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 Guidelines4/5

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

The worked examples show concrete when-to-use patterns (filtering by type, sorting by a fact key, scoping to a chapter, filtering by a just-completed mission) and it explicitly routes to get_entity for full records. It lacks an explicit statement of when NOT to use it, e.g. vs find_vehicles/find_weapons or nearby/search_places.

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.