Skip to main content
Glama

Lint Character Prompt

lint_character_prompt
Read-onlyIdempotent

Analyze character descriptions and roleplay prompts to flag clarity issues, macro formatting errors, POV conflicts, duplicate rules, token bloat, and god-moding before use.

Instructions

Analyze a character description or roleplay system prompt for clarity, macro formatting, POV conflicts, negative-constraint overload, duplicate rules, token bloat, and opening-message user god-moding.

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": {
      "prompt": "<prompt>"
    },
    "name": "lint_character_prompt"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptYesCharacter description or system prompt to lint.
firstMessageNoOptional opening message to check for writing actions/dialogue for {{user}}.
characterNameNoOptional character name to verify references.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and openWorldHint=false, so safety and repeatability are covered structurally. The description reinforces a non-mutating analysis role through its verb and check categories, but adds nothing about output shape, severity levels, whether scores or just findings are returned, or whether the prompt text is echoed back.

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?

A single front-loaded sentence with a dense, well-ordered enumeration of check categories and no filler. Every clause maps to a distinct check the tool performs.

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?

With no output schema, the description carries the burden of explaining what comes back — a list of issues, severities, or scores — and it says nothing about the result format. For a read-only diagnostic tool with fully documented parameters this is largely adequate, but the missing return-value framing is a real gap given no output schema exists.

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 all three parameters are already documented in the schema; baseline 3 applies. The mention of "opening-message user god-moding" loosely signals the purpose of firstMessage without naming the parameter, and "macro formatting" / "duplicate rules" hint at what triggers findings, but no syntax or formatting expectations are added.

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 ("Analyze") with a specific resource ("character description or roleplay system prompt") and enumerates the concrete checks performed: macro formatting, POV conflicts, negative-constraint overload, duplicate rules, token bloat, god-moding. An agent can tell what the tool produces findings about. It does not, however, distinguish itself from the sibling validate_character_card, which plausibly covers overlapping ground.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus validate_character_card or estimate_roleplay_context, no preconditions, and no statement of when-not to use it. The agent must infer applicability purely from the check list, which is thin given a sibling with a near-identical name domain.

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