Document MCP Description Meaningful
document-mcp-description-meaningful
info
experience: discoverabilityexperience: documentation
spec: document
MCP description should be at least 40 characters.
The server description should be specific (at least 40 characters) so agents can decide when to use it.
Rule definition
The full Spotlight rule — drop it into a ruleset (.spotlight.yaml / .spectral.yaml) and run it with any Spotlight tool.
document-mcp-description-meaningful:
title: Document MCP Description Meaningful
reference: https://spotlight-rules.com/spec/rules/mcp/document-mcp-description-meaningful/
description: The server description should be specific (at least 40 characters)
so agents can decide when to use it.
message: MCP description should be at least 40 characters.
given: $.description
severity: info
then:
function: schema
functionOptions:
schema:
type: string
minLength: 40
tags:
- format:mcp
- spec:document
- experience:discoverability
- experience:documentation
prompt: "You are editing a MCP document to satisfy the Spotlight API governance
rule 'document-mcp-description-meaningful' (Document MCP Description
Meaningful). Requirement: The server description should be specific (at
least 40 characters) so agents can decide when to use it. To fix: Adjust the
targeted value so it conforms to the schema this rule requires. This rule is
evaluated at the JSONPath `$.description` — inspect every location it
matches and correct only what violates the rule. Make the smallest change
that satisfies the rule, leave all unrelated content, key order, comments,
and formatting unchanged, and keep the document valid MCP. Return only the
complete corrected document, with no commentary."
AI fix prompt — send this to Claude, Gemini, or ChatGPT with your artifact to auto-fix this rule
You are editing a MCP document to satisfy the Spotlight API governance rule 'document-mcp-description-meaningful' (Document MCP Description Meaningful). Requirement: The server description should be specific (at least 40 characters) so agents can decide when to use it. To fix: Adjust the targeted value so it conforms to the schema this rule requires. This rule is evaluated at the JSONPath `$.description` — inspect every location it matches and correct only what violates the rule. Make the smallest change that satisfies the rule, leave all unrelated content, key order, comments, and formatting unchanged, and keep the document valid MCP. Return only the complete corrected document, with no commentary.
| Artifact | MCP |
|---|---|
| Applies at (given) | $.description |
| Severity | info — educational by default; raise to warn/error to enforce |
| Reference | https://spotlight-rules.com/spec/rules/mcp/document-mcp-description-meaningful/ |