Skip to main content
Glama

D&D MCP Server

add_item_to_character

Assigns an item to a character's inventory in Dungeons & Dragons campaigns, specifying name, type, quantity, description, weight, and value for precise inventory management.

Instructions

Add an item to a character's inventory.

Input Schema

NameRequiredDescriptionDefault
character_nameYesCharacter name
descriptionNoItem description
item_nameYesItem name
item_typeNoItem typemisc
quantityNoQuantity
valueNoItem value (e.g., '50 gp')
weightNoItem weight

Input Schema (JSON Schema)

{ "properties": { "character_name": { "description": "Character name", "title": "Character Name", "type": "string" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Item description", "title": "Description" }, "item_name": { "description": "Item name", "title": "Item Name", "type": "string" }, "item_type": { "default": "misc", "description": "Item type", "enum": [ "weapon", "armor", "consumable", "misc" ], "title": "Item Type", "type": "string" }, "quantity": { "default": 1, "description": "Quantity", "minimum": 1, "title": "Quantity", "type": "integer" }, "value": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Item value (e.g., '50 gp')", "title": "Value" }, "weight": { "anyOf": [ { "minimum": 0, "type": "number" }, { "type": "null" } ], "default": null, "description": "Item weight", "title": "Weight" } }, "required": [ "character_name", "item_name" ], "type": "object" }

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/study-flamingo/gamemaster-mcp'

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