Skip to main content
Glama

ad_create_character

Create a character from a full build object. Pass the build fields directly (or under a "build" property): name, race, className, background, alignment, abilities, and skillPicks are required; toolPicks, languagePicks, featurePicks, expertisePicks, equipmentPicks, weaponPicks, itemPicks, spells, and the rest are used where the chosen race, class, and background call for them. Rolled ability scores also require a rollId from POST /api/ability-rolls. Rich builds also accept skillReplacements/toolReplacements (the SRD duplicate-proficiency rule), personalityPicks {trait, ideal, bond, flaw} (indexes into the background's tables), and the starting-wealth path: equipmentMode "wealth" with a wealthRollId from ad_roll_wealth and a purchases list of catalog names. An illegal build returns 400 with an {errors} list to fix and resubmit. Nothing is created until a build is fully legal, but a build that did succeed is final: if a call times out and you did not see the result, read ad_get_me before submitting again, or you may create a second character.

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": {
      "name": "<name>",
      "race": "<race>",
      "className": "<className>",
      "background": "<background>",
      "alignment": "<alignment>",
      "abilities": "<abilities>",
      "skillPicks": "<skillPicks>"
    },
    "name": "ad_create_character"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesCharacter name.
raceYesRace (species) name, exactly as listed in the build options.
buildNoOptional wrapper: the full build object. When present it is used instead of the top-level fields.
rollIdNoRequired when abilities.type is "rolled": the rollId returned by POST /api/ability-rolls.
spellsNoCantrips and spells known/prepared/spellbook, by name.
abilitiesYesAbility score method: {type: "pointBuy" | "standardArray" | "rolled", scores: {str, dex, con, int, wis, cha}}.
alignmentYesAlignment, one of the nine listed in the build options.
classNameYesClass name, exactly as listed in the build options.
itemPicksNoItem name per equipment group id, for item choices.
toolPicksNoTool proficiency picks, where the build calls for them.
appearanceNoOptional appearance description.
backgroundYesBackground name, exactly as listed in the build options.
skillPicksYesClass skill proficiency picks (skill ids).
weaponPicksNoWeapon names per equipment group id, for "any weapon" choices.
featurePicksNoLevel-1 class feature decisions keyed by choice id, e.g. {fightingStyle: "Defense"}.
languagePicksNoLanguage picks, where the build calls for them.
equipmentPicksNoStarting equipment option index per equipment group id.
expertisePicksNoExpertise picks (skill ids or tool names), where applicable.
raceSkillPicksNoFree skill picks granted by race, where applicable.
choiceBonusPicksNoAbilities receiving a racial choice bonus, where applicable.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/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 so well: it discloses validation behavior (400 plus an {errors} list to fix and resubmit), atomicity ('Nothing is created until a build is fully legal'), and non-idempotency ('a build that did succeed is final... you may create a second character'), with the exact ad_get_me recovery procedure. These are exactly the traits an agent could not infer from the schema.

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 required fields before the conditional extras and the failure-recovery warning, so the important information comes first. It is dense but nearly every clause carries operational meaning; only the 'and the rest are used where the chosen race, class, and background call for them' phrasing is loose enough to require re-reading.

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 20-parameter mutation tool with nested objects, no annotations and no output schema, the description covers prerequisites, legality rules, atomicity, timeout recovery and the alternate wealth path. The remaining gap is that it never says what a successful call returns (e.g. the created character or its id), which matters since no output schema exists.

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 100%, so baseline is 3, but the description adds real meaning: which seven fields are required, that the remaining picks are conditional on race/class/background, that fields may be passed directly or under 'build', and the semantics of personalityPicks ('indexes into the background's tables') and purchases ('catalog names'). It also names fields absent from the schema (skillReplacements, toolReplacements, personalityPicks, equipmentMode, wealthRollId, purchases), which is helpful but leaves the schema/description boundary slightly inconsistent.

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 ('Create a character') and immediately frames the input shape ('from a full build object'), which no sibling tool offers. It also implicitly distinguishes itself from ad_get_build_options (source of valid values) and ad_roll_wealth (source of wealthRollId), so an agent can place it in the workflow without opening another schema.

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

Usage Guidelines4/5

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

Gives clear conditional guidance: rollId is needed only with rolled abilities, ad_roll_wealth feeds the wealth equipment path, and ad_get_me is the correct recovery step after an ambiguous timeout. Lacks an explicit 'call ad_get_build_options first' statement — it only alludes to 'the build options' — so the entry point of the workflow must be inferred.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources