Skip to main content
Glama
Universal AI Commands

Universal AI Commands

lint_prompt

Scores prompts from 0–100 with grades A–D and returns actionable suggestions to improve clarity, structure, and effectiveness.

Instructions

Score a prompt (0-100, Grade A-D) with actionable improvement suggestions.

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": {
      "subject": "<subject>"
    },
    "name": "lint_prompt"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetNo
subjectYes
commandsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It implies an analysis operation and reveals the scoring scale and grade output, but it says nothing about whether the prompt is modified, what permissions or limits apply, or what the suggestions look like structurally. For a zero-annotation tool this is a substantial gap.

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?

A single efficient sentence with the resource and the output contract front-loaded. Nothing is wasted, though the brevity contributes to the missing parameter guidance.

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

Completeness2/5

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

No output schema exists, and the description does cover the return format in brief, which is a plus. However, for a three-parameter tool with 0% schema coverage and no annotations, omitting the meaning of 'target' and 'commands' leaves the definition materially incomplete.

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, and it does not. It only implies that 'subject' is the prompt text; the 'target' enum (llm, midjourney, sd, suno, video) and the 'commands' array are completely unaddressed, leaving an agent unable to know how the scoring varies by target.

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?

The description uses a specific verb and resource ('Score a prompt') and even specifies the output shape (0-100, Grade A-D, improvement suggestions), which distinguishes it from a pure mutation tool like optimize_prompt. It stops short of explicitly differentiating itself from the sibling optimizer, so an agent must infer that this one evaluates rather than rewrites.

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 when-to-use or when-not-to-use guidance, and no sibling is named despite optimize_prompt and compile_prompt being close alternatives. An agent is left to guess whether to lint first or jump straight to optimize_prompt.

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