Skip to main content
Glama

Review a draft before it is published

review_draft
Read-onlyIdempotent

Reviews a draft before it is published and returns up to five findings, each one checked against the draft before it is returned. It is a quick editorial pass for answer engines (AEO), search (SEO) and AI-sounding writing, and it works on any kind of page: a blog post or article, a glossary entry, a comparison page, a product, landing or solutions page, documentation or a case study. Hi, Moose first works out the content type and the search intent, or uses the contentType passed in, and reviews the draft as that kind of page, so a product page is never given blog advice. It then checks whether the draft delivers what the reader of the target query came for, whether the answers are easy to find and safe to quote on their own, whether consequential claims are supported, the title, headings and link text, and passages that say nothing specific. Only findings a careful editor would insist on are returned. A clean draft returns no findings, and that is a normal result. Every finding has the same shape, so a person or an agent can apply it without asking anyone: severity (must_fix or should_fix), section, currentText (the exact passage, copied from the draft), issue, and action: replace or insert with newText, delete, or add_information with informationNeeded, which names the source, figure or example that is missing and where it goes. It never makes a draft worse: a claim without a source is flagged, never removed or softened, and when the information cannot be found the passage stays as the writer wrote it. It is a review, not a rewrite: it never returns a revised draft. The draft can come from anywhere (Google Docs, Word, a CMS, this conversation). Pass the whole draft in content as markdown or plain text, keeping the title, headings, links and citations as written. Do not shorten or summarise it; export marks from Google Docs or Word are fine and are ignored. Optionally pass targetQuery, the question or search the page should win (inferred and labelled when left out), contentType when the kind of page is known, and metaDescription when one is written. The review uses the project's Brand Truth, brand voice and brand guidelines when they are saved. One call takes up to 300 KB of text, about 300,000 characters or 45,000 words; a longer draft is refused with the size it had and is never cut, and is then sent in parts split at its main headings with the full heading list as outline. There is no score, no live search, no competitor research and no crawler check here: use run_aeo_audit for the scored audit with live search evidence. Takes one to two minutes. The result starts with a "Received" line (words and first and last heading): compare it with the draft that was sent to confirm the whole draft arrived.

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": {
      "project": "<project>",
      "content": "<content>"
    },
    "name": "review_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoOptional: the title of the draft, when it is not the first heading of content, for example the document name. Up to 200 characters.
contentYesThe whole draft as markdown or plain text, with its title, headings, links and citations as written. Up to 300 KB, about 300,000 characters. Never shortened: a draft over the limit is refused, not cut.
outlineNoOptional: only when content is one part of a longer piece. The full list of its headings, one per line, so the part is reviewed with the whole piece in view. Up to 20000 characters.
projectYesThe Hi, Moose project, by its name as shown by list_projects. The projectId is also accepted. Its Brand Truth, brand voice and brand guidelines are used for the review.
contentTypeNoOptional: the kind of page, when it is known. blog-post covers articles, guides and explainers; comparison-page is a sales page that sets the brand's product against named competitors. Pass it whenever the workflow knows the type: the review then follows the rules for that kind of page. Without it Hi, Moose detects the type from the draft and returns it with a confidence.
targetQueryNoOptional: the question or search prompt the page should answer, for example "AI code review vs SAST". Without it Hi, Moose infers one from the draft and labels it inferred. Up to 200 characters.
metaDescriptionNoOptional: the meta description written for the page, when there is one. It is checked against the draft. Up to 1000 characters.

Output Schema

NameRequiredDescriptionDefault
errorNo
jobIdNo
titleNo
checksNoHow many candidate findings there were and how many were dropped: quote not in the draft, edit added a fact, dropped by the check, over the limit of five.
statusNodone, failed, pending or running.
summaryNo
findingsNoAt most five, must_fix first. Empty when the draft needs nothing.
markdownNoThe same review as readable text.
progressNo
receivedNoWhat arrived: words, characters, headings, firstHeading, lastHeading, embeddedImages, partOfLongerArticle, metaDescription.
createdAtNo
contentTypeNoThe kind of page the draft was reviewed as.
projectNameNo
targetQueryNo
findingCountNo
mustFixCountNo
searchIntentNo
schemaVersionNoVersion of this result shape. Fields are only added within a version.
brandContextUsedNo
contentTypeReasonNo
contentTypeSourceNo
targetQueryReasonNo
searchIntentReasonNo
targetQueryInferredNo
contentTypeConfidenceNoFor a detected type. low means two classifications disagreed: pass contentType and call again if the type is wrong.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedOutput schema / properties / findings / items / properties / fallbackText
      Removed value: -{
      -  "description": "For add_information: a replacement for currentText that is safe to publish when the information cannot be found. null means leave the passage as it is and report the finding as open.",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • changedOutput schema / properties / findings / items / properties / informationNeeded / description
      Previous value: -"For add_information: exactly what is needed and where it goes."New value: +"For add_information: exactly what is needed and where it goes. When it cannot be found, leave currentText exactly as it is and report the finding as open."
  2. Changed5 schema fields changed
    • addedInput schema / properties / contentType
      Added value: +{
      +  "description": "Optional: the kind of page, when it is known. blog-post covers articles, guides and explainers; comparison-page is a sales page that sets the brand's product against named competitors. Pass it whenever the workflow knows the type: the review then follows the rules for that kind of page. Without it Hi, Moose detects the type from the draft and returns it with a confidence.",
      +  "enum": [
      +    "blog-post",
      +    "glossary-post",
      +    "comparison-page",
      +    "product-page",
      +    "landing-page",
      +    "solutions-page",
      +    "documentation",
      +    "case-study",
      +    "other"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / metaDescription
      Added value: +{
      +  "description": "Optional: the meta description written for the page, when there is one. It is checked against the draft. Up to 1000 characters.",
      +  "maxLength": 1000,
      +  "type": "string"
      +}
    • changedInput schema / properties / outline / description
      Previous value: -"Optional: only when content is one part of a longer article. The full list of the article's headings, one per line, so the part is reviewed with the whole article in view. Up to 20000 characters."New value: +"Optional: only when content is one part of a longer piece. The full list of its headings, one per line, so the part is reviewed with the whole piece in view. Up to 20000 characters."
    • changedInput schema / properties / targetQuery / description
      Previous value: -"Optional: the question or search prompt the article should answer, for example \"AI code review vs SAST\". Without it Hi, Moose infers one from the draft and labels it inferred. Up to 200 characters."New value: +"Optional: the question or search prompt the page should answer, for example \"AI code review vs SAST\". Without it Hi, Moose infers one from the draft and labels it inferred. Up to 200 characters."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "brandContextUsed": {
      +      "properties": {
      +        "brandGuidelines": {
      +          "type": "boolean"
      +        },
      +        "brandTruth": {
      +          "type": "boolean"
      +        },
      +        "brandVoice": {
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "checks": {
      +      "description": "How many candidate findings there were and how many were dropped: quote not in the draft, edit added a fact, dropped by the check, over the limit of five.",
      +      "type": "object"
      +    },
      +    "contentType": {
      +      "description": "The kind of page the draft was reviewed as.",
      +      "enum": [
      +        "blog-post",
      +        "glossary-post",
      +        "comparison-page",
      +        "product-page",
      +        "landing-page",
      +        "solutions-page",
      +        "documentation",
      +        "case-study",
      +        "other"
      +      ],
      +      "type": "string"
      +    },
      +    "contentTypeConfidence": {
      +      "description": "For a detected type. low means two classifications disagreed: pass contentType and call again if the type is wrong.",
      +      "enum": [
      +        "high",
      +        "medium",
      +        "low"
      +      ],
      +      "type": "string"
      +    },
      +    "contentTypeReason": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "contentTypeSource": {
      +      "enum": [
      +        "given",
      +        "detected"
      +      ],
      +      "type": "string"
      +    },
      +    "createdAt": {
      +      "type": "string"
      +    },
      +    "error": {
      +      "type": "object"
      +    },
      +    "findingCount": {
      +      "type": "integer"
      +    },
      +    "findings": {
      +      "description": "At most five, must_fix first. Empty when the draft needs nothing.",
      +      "items": {
      +        "properties": {
      +          "action": {
      +            "description": "replace: newText takes the place of currentText. delete: remove currentText. insert: add newText right after currentText, or in the section when currentText is null. add_information: the fix needs a fact, source or example that is not in the draft.",
      +            "enum": [
      +              "replace",
      +              "delete",
      +              "insert",
      +              "add_information"
      +            ],
      +            "type": "string"
      +          },
      +          "area": {
      +            "enum": [
      +              "intent",
      +              "answer",
      +              "evidence",
      +              "basics",
      +              "writing"
      +            ],
      +            "type": "string"
      +          },
      +          "areaLabel": {
      +            "type": "string"
      +          },
      +          "currentText": {
      +            "description": "The exact passage as it appears in the draft that was sent, without export backslashes. null when the finding is about something absent.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "fallbackText": {
      +            "description": "For add_information: a replacement for currentText that is safe to publish when the information cannot be found. null means leave the passage as it is and report the finding as open.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "id": {
      +            "description": "F1, F2 and so on, in order of importance.",
      +            "type": "string"
      +          },
      +          "informationNeeded": {
      +            "description": "For add_information: exactly what is needed and where it goes.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "issue": {
      +            "type": "string"
      +          },
      +          "newText": {
      +            "description": "For replace and insert.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "occurrences": {
      +            "description": "How many times currentText appears in the draft. Above 1, use section to pick the right one.",
      +            "type": "integer"
      +          },
      +          "section": {
      +            "description": "The heading the passage sits under, or Title, Opening or Meta description.",
      +            "type": "string"
      +          },
      +          "severity": {
      +            "enum": [
      +              "must_fix",
      +              "should_fix"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "jobId": {
      +      "type": "string"
      +    },
      +    "markdown": {
      +      "description": "The same review as readable text.",
      +      "type": "string"
      +    },
      +    "mustFixCount": {
      +      "type": "integer"
      +    },
      +    "progress": {
      +      "type": "string"
      +    },
      +    "projectName": {
      +      "type": "string"
      +    },
      +    "received": {
      +      "description": "What arrived: words, characters, headings, firstHeading, lastHeading, embeddedImages, partOfLongerArticle, metaDescription.",
      +      "type": "object"
      +    },
      +    "schemaVersion": {
      +      "description": "Version of this result shape. Fields are only added within a version.",
      +      "type": "integer"
      +    },
      +    "searchIntent": {
      +      "enum": [
      +        "informational",
      +        "how-to",
      +        "comparison",
      +        "commercial",
      +        "transactional",
      +        "navigational"
      +      ],
      +      "type": "string"
      +    },
      +    "searchIntentReason": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "status": {
      +      "description": "done, failed, pending or running.",
      +      "type": "string"
      +    },
      +    "summary": {
      +      "type": "string"
      +    },
      +    "targetQuery": {
      +      "type": "string"
      +    },
      +    "targetQueryInferred": {
      +      "type": "boolean"
      +    },
      +    "targetQueryReason": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "title": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  3. Added

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered by structured data. The description still adds real behavior beyond that: it never rewrites or removes claims, an unsourced claim is flagged rather than softened, a clean draft legitimately returns zero findings, drafts over 300 KB are refused rather than truncated, and a run takes one to two minutes. It also explains the "Received" verification line, which is a genuine operational detail not in the schema.

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?

The description is front-loaded correctly — purpose, then what is checked, then finding shape, then input handling, then limits — and nearly every sentence carries load. It is long and occasionally repeats schema content (the 300 KB ceiling and "never shortened" rule appear in both places), and a few run-on sentences could be tightened, but nothing is padding.

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

Completeness5/5

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

For a seven-parameter review tool with an output schema, the description supplies everything an agent needs: input formatting rules, the size ceiling and refusal behavior, split-draft strategy, project-scoped brand context, runtime, and how to verify the draft arrived intact. The finding shape is spelled out even though an output schema exists, which is over-delivery rather than a gap.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline would be 3, but the description adds meaning the schema does not: it explains why contentType matters ("so a product page is never given blog advice"), how oversized drafts get split at main headings with outline carrying the full heading list, and that targetQuery is inferred and labelled when omitted. Some parameter text does restate schema wording (size limit, never shortened), which keeps it out of the top band.

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?

"Reviews a draft before it is published and returns up to five findings" states a specific verb, resource and output volume, and the description immediately scopes what the review covers (AEO, SEO, AI-sounding writing) and what it is not ("a review, not a rewrite"). An agent can distinguish it from siblings like run_aeo_audit or create_draft without opening a schema.

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

Usage Guidelines5/5

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

It gives both the use case (editorial pass on a draft before publishing) and an explicit alternative with the condition that selects it: "use run_aeo_audit for the scored audit with live search evidence." It also states exclusions clearly — no score, no live search, no competitor research, no crawler check — so an agent knows when this tool is the wrong call.

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