Skip to main content
Glama
PhillypHenning

foundry-rest-api-mcp-server

Create Foundry Entity

foundry_create_entity

Create new Foundry VTT entities (Actor, Item, JournalEntry, etc.) by providing raw document data. Returns the new entity UUID and full document.

Instructions

Create a new Foundry entity (Actor, Item, JournalEntry, etc.) with a raw Foundry document. Returns the new entity UUID and document.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesRaw Foundry document for this entityType (name, type, system, items, etc.)
folderNoUUID of folder to file the entity in
keepIdNoKeep the supplied _id
userIdNoOverride the default userId. Omit for GM-level access.
clientIdNoOverride the default clientId (which connected world to target)
overrideNoOverride an existing entity with the same _id
entityTypeYesFoundry document class, e.g. Actor or JournalEntry
Behavior3/5

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

The description confirms it creates a new entity and returns the new UUID/document, consistent with openWorldHint=true and idempotentHint=false. However, it doesn't detail what happens to existing data, permission requirements, or failure modes beyond what annotations already imply. Minimal added context beyond the annotations.

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 concise sentences, front-loaded with the action, and no redundant information. Each word adds value, and it efficiently communicates purpose and return value.

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?

The schema and annotations handle many details, and the description states the return value. However, it lacks guidance on when to use this vs. sibling create tools, and it doesn't mention edge cases like override behavior or folder constraints, making it adequate but not complete.

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 description coverage is 100%, so the baseline is 3. The description only repeats 'raw Foundry document' in the body, which mirrors the schema's data parameter description. It adds no extra insight into folder, override, or userId semantics beyond what the schema already provides.

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?

Clearly states it creates a new Foundry entity with a raw Foundry document and lists supported types (Actor, Item, JournalEntry). The verb 'create' and resource 'Foundry entity' are specific, and it differentiates from siblings by focusing on raw document creation and returning a UUID.

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 description implies usage for creating entities, but offers no explicit comparison to alternatives like foundry_create_creature or foundry_update_entity. It provides no when-not guidance or exclusions, leaving the agent to infer when this raw-document approach is preferred over specialized creation tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/PhillypHenning/foundry-rest-api-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server