Skip to main content
Glama

Read a document

get
Read-only

Retrieve one Foundry VTT document's full data or a single property by path, such as system.stats or items, using its ID, exact name, or folder to target the right record.

Instructions

Returns one document's full data, or one property of it with path (e.g. "system.stats", "items", "walls").

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

Input Schema

NameRequiredDescriptionDefault
idNo
nameNoExact name; must be unambiguous
pathNo
typeYesDocument type: Actor, Item, Scene, JournalEntry, Macro, RollTable, Playlist, Cards, Folder, ChatMessage, Combat, User
folderNoFolder path to disambiguate a name
maxCharsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description earns credit for disclosing the projection behavior — that supplying a path returns a single property instead of the whole document — and gives concrete path syntax examples. It omits truncation behavior implied by maxChars and what happens on ambiguous names, keeping it below 5.

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?

A single front-loaded sentence with an inline example and no filler; the core behavior (full document vs. single property) leads. It is efficient, though the terse phrasing leaves the path mechanism to be parsed from a parenthetical.

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

Completeness3/5

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

With six parameters, no output schema, and only 50% schema coverage, the description should do more: it never explains document identification via id vs. name plus folder disambiguation, and never mentions the maxChars truncation limit on returned data. It is adequate for the basic read case but leaves real gaps.

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 50%, and the description meaningfully compensates for the undocumented path parameter by giving example values ("system.stats", "items", "walls"). However it says nothing about how id, name, and folder interact for identifying a document, nor about maxChars, leaving half the parameters unexplained in both places.

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?

"Returns one document's full data" states a specific verb and a singular resource, which distinguishes it from list-style siblings such as list and browse_files. It does not differentiate against other read-shaped siblings like embedded or chat_log, so it stops short of a 5.

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

Usage Guidelines2/5

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

There is no explicit statement of when to use this tool versus alternatives, nor any prerequisite or exclusion. Usage is only inferable from the word "Returns" and the singular document scope; an agent gets no routing guidance.

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