Skip to main content
Glama

ai_system_prompt

Read-only

System prompt writer + linter — Write a production system prompt for an LLM assistant or agent from a one-line task, then lint it offline: score 0-100 with grade, checks for a role, goal, rules, output format and what to do when unsure, coverage of every tool and rule you supplied, vague wording, always/never conflicts, ALL-CAPS shouting and token length. Verdict READY or REVIEW with the issue list. Optional: role=, audience=, tone=, format=, tools= (comma list), rules= (semicolon list), length=short|medium|long. Nothing stored. Price: $0.008 USDC (Base, via x402).

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": {
      "task": "<task>"
    },
    "name": "ai_system_prompt"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskYese.g. Answer customer billing questions for a SaaS company and look up invoices

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=true, destructiveHint=false, openWorldHint=true), the description adds important behavioral details: 'Nothing stored' clarifies data handling, and 'Price: $0.008 USDC (Base, via x402)' discloses cost and payment context. It also enumerates the lint checks and output verdict, which helps set expectations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single dense paragraph with multiple clauses and no structural breaks, making it harder to scan. It is front-loaded with the core purpose, but the long enumeration of checks and optional parameters could be better organized with bullet points or separate sentences.

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?

Given the tool's complexity (writing + linting with many checks) and the lack of an output schema, the description is fairly complete: it covers the process, the scoring and verdict, optional parameters, storage behavior, and pricing. However, it does not specify the detailed structure of the returned issue list or score breakdown.

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?

The input schema has 100% coverage for the single required 'task' parameter, so the baseline is 3. The description lists optional parameters (role=, audience=, etc.) that are not present in the schema, which could confuse an agent. While it adds some meaning about those optional fields, their absence from the schema limits the practical value.

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?

The description states a specific verb and resource: 'Write a production system prompt for an LLM assistant or agent from a one-line task, then lint it offline.' It clearly distinguishes itself as a combined writer and linter, leaving no ambiguity about what the tool does.

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

Usage Guidelines3/5

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

The description implies usage when you need to create and validate a system prompt, but it does not explicitly name when to use this tool versus alternatives like ai_prompt_improve or ai_prompt_compress. There are no exclusions or conditions that would route the agent elsewhere.

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