Skip to main content
Glama
Txpple

fvtt-mcp-molten5e

by Txpple

update-rolltable

Update a RollTable by editing its fields (name, description, formula) and/or entries. Choose targeted per-entry edits to fix one entry without affecting others, or destructive full replacement to replace all results.

Instructions

Update a RollTable's fields (name, description, formula, replacement, displayRoll) and/or its entries, two ways: editResults = TARGETED per-entry edits — name an entry by its roll face (e.g. 7 on a d12) or resultId (from get-rolltable) and patch just its text, linked uuid, weight, and/or range; every OTHER entry (ranges, weights, @UUID item links) stays byte-identical — the right way to fix a typo on one entry of a tuned table. text/uuid REPLACE that entry's content (copy the raw text from get-rolltable and change only what you need). results = DESTRUCTIVE whole-set replace (all entries deleted and recreated with auto-assigned ranges). Bad edits are isolated + reported; an introduced range overlap/gap is warned. GM-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoNew table name.
formulaNoNew roll formula.
resultsNoDESTRUCTIVE: replaces ALL existing results (deleted + recreated with auto-assigned ranges). To change one entry, use editResults instead.
identifierYesTable id or exact name.
descriptionNoNew description.
displayRollNoShow the roll when drawing.
editResultsNoTARGETED per-entry edits — fix one entry's text/link/weight/range in place; every other entry (ranges, weights, @UUID item links) is left byte-identical. Mutually exclusive with `results`.
replacementNoDraw with replacement.
Behavior5/5

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

With no annotations provided, the description fully discloses behavioral traits: results is destructive (deletes and recreates entries), editResults leaves other entries byte-identical, bad edits are isolated and reported, range overlap/gap is warned, and uuid references to SRD are refused. It also notes GM-only restriction.

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?

The description is relatively long but well-structured, starting with the overarching purpose and then detailing the two modes. Every sentence provides essential information, though some redundancy (e.g., repeated warnings) could be trimmed. It remains efficient for the complexity of the tool.

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

Completeness5/5

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

Given the tool's complexity (8 parameters, two modes, no output schema), the description covers all necessary aspects: parameter behavior, mode differences, SRD restrictions, error handling, and access restrictions (GM-only). It adequately prepares the agent to use the tool correctly without gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although schema coverage is 100%, the description adds substantial meaning beyond the schema: it explains the difference between editResults and results, the auto-assignment of ranges, the SRD restriction, and the use of `name` vs `text` vs `uuid`. For editResults, it clarifies how to target entries via `roll` or `resultId`. This significantly aids the agent in using parameters correctly.

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?

The description clearly states that the tool updates RollTable fields and entries, with two distinct modes: targeted edits via editResults or destructive whole-set replace via results. It distinguishes itself from create-rolltable and delete-rolltable by specifying updating behavior.

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?

The description explicitly tells when to use each mode: editResults for fixing individual entries (e.g., a typo) while preserving others, and results for replacing all entries. It implies to use get-rolltable for reading, and notes that the tool is GM-only, providing clear guidance on appropriate usage.

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/Txpple/fvtt-mcp-molten5e'

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