Skip to main content
Glama

get_recent_nodes

Retrieve recently assigned Dungeondraft node IDs to move, modify, or delete generated dungeon and prefab content not placed individually. Pass the since cursor to fetch only new IDs.

Instructions

List the ids Dungeondraft has assigned to nodes it created, newest last.

Use this to learn the ids of things you did NOT place one at a time —
the contents of a prefab, everything a generated dungeon produced. Without
it those can only be counted, not moved, modified or deleted.

Pass `since` from a previous call's `next_since` to get only what is new.
`dropped_older` means the log wrapped and some ids were lost — read it more
often, or take the ids straight off `place_prefab` / `generate_dungeon`,
which report their own.

since: return assignments after this sequence number (0 = everything held).
limit: maximum rows to return.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
sinceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses ordering, pagination via next_since, and the critical failure mode that the log can wrap and lose ids (dropped_older). It stops short of describing the exact row shape beyond id/next_since/dropped_older, but the behavioral traits an agent needs are present.

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 purpose and ordering, then the use case, then the paging/wrap caveat, then parameters. Every sentence carries information, though the 'read it more often' advisory is slightly chatty relative to the rest.

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 two-parameter, no-annotation, no-output-schema tool, the description covers purpose, paging, and the wrap risk, and even names the key return fields. What remains implicit is trivial (id type, row field names beyond those mentioned).

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 0%, so the description must compensate, and it does: 'since' is defined as a sequence number with 0 meaning everything held, and it is explicitly linked to a prior call's next_since. 'limit' is defined as maximum rows. Only the bounds/format of the integers are left implicit.

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 and resource ('List the ids Dungeondraft has assigned to nodes') plus ordering semantics ('newest last'). It also sharply distinguishes itself from place_prefab and generate_dungeon, which report ids for things you placed yourself.

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?

Explicitly says when to use it — to learn ids of things you did NOT place one at a time, such as prefab contents or generated dungeon output — and warns what happens without it ('can only be counted, not moved, modified or deleted'). It names the alternative sources (place_prefab / generate_dungeon) and the condition that selects them.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools