Skip to main content
Glama

export_card

Save a character as a PNG card with portrait and text, or as a CHARX file carrying available art and designed voice data.

Instructions

Save a character card. PNG contains the portrait and character text. CHARX also carries the available art and designed Voice Lab voice. Ask the person to use Forge's export dialog if the card needs a recorded voice.

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": {
      "npc_id": "<npc_id>",
      "output_dir": "<output_dir>"
    },
    "name": "export_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNo
npc_idYes
output_dirYes
include_voiceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose meaningful behavior: what each format embeds and the limitation that recorded voices are not supported here. It omits what happens to files already present in output_dir (overwrite vs. error), whether the call is long-running or blocking, and what is returned, which are significant gaps for a write-to-disk tool with zero annotation coverage.

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?

Four short sentences, front-loaded with the core action, then format differences, then the exception. Every sentence carries information; there is no boilerplate or repetition.

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?

Format semantics are handled well for a tool with no output schema, but with no annotations and 0% parameter coverage the definition leaves an agent guessing about the required identifier and destination path, and about failure or overwrite behavior. Adequate on the format question, incomplete on invocation mechanics.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate for all four parameters, and it does not. Format values are implied by naming PNG and CHARX, and include_voice is hinted at by the recorded-voice caveat, but the two required parameters npc_id and output_dir are never mentioned, nor is the meaning or expected structure of the output path.

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?

States a specific verb and resource: 'Save a character card.' It also explains what the two output formats carry (PNG = portrait + character text; CHARX = plus art and designed voice), which makes the tool's function concrete. It does not explicitly differentiate itself from the sibling export_characters, 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 Guidelines4/5

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

Gives clear selection guidance between the two formats and an explicit exclusion with an alternative destination: if a recorded voice is needed, the user should use Forge's export dialog instead. It does not address the sibling export_characters or say when exporting a card is preferable to that path, leaving one routing decision to inference.

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