Skip to main content
Glama

assist_writing

Read-only

Run Paperboy CMS's writing assistant on text to generate SEO titles and descriptions, summaries, rewrites, translations, variants, drafts, and schema.org field suggestions; returning unsaved results.

Instructions

Run the CMS's writing assistant on a piece of text: SEO titles and descriptions, summaries, polishing, rewrites, variants, translation, drafting from a brief, schema.org field suggestions. Returns {result, provider}: result is the text (for variants, a JSON array of 3 strings). It saves nothing — write the result with set_field or update_content. It uses the model set in Settings → AI provider; without one, only meta_title, meta_description and summarize work (by truncation) and the rest are refused with a hint. It cannot write image alt text, since it never sees the image: write that yourself and save it with update_asset_alt. Requires the content.update permission (Admin, Editor, Author — an Author only within their own sections).

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>",
      "input": "<input>"
    },
    "name": "assist_writing"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskYesmeta_title / meta_description = SEO text from the input; summarize; improve = polish grammar and flow; rewrite; variants = 3 alternatives as a JSON array; translate (needs targetLocale); write = 2-4 paragraphs about the topic in input; schema_fields = suggested fields for the schema.org @type named in input; alt_text is refused (see above).
inputYesThe text to work on (or, for write, the topic/brief).
targetLocaleNoLocale code of the output language, e.g. 'nb'. Required for translate; for improve/rewrite/variants it overrides 'same language as the input'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.7

TDQS

A4.7/5.0
Behavior4/5

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

Annotations only supply readOnlyHint and openWorldHint, so the description carries most of the burden and does so well: it discloses no persistence, the provider dependency, degraded truncation-only fallbacks for three tasks, refusal behavior for unsupported tasks, and the required content.update permission with role scoping. The only thing it leaves implicit is that the outbound call sends content to an external model, though openWorldHint covers part of that.

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?

Front-loads purpose and return shape, then side effects, then failure modes, then the one task it cannot do, then permissions. Every sentence contributes non-obvious information — nothing here is filler or a restatement of the schema.

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?

With no output schema, the description supplies the return contract ({result, provider} and the variants array case). Combined with side-effect disclosure, provider fallbacks, and permission requirements, an agent has everything needed to call this correctly and to know what to do with the result.

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 is 3, but the description adds genuine per-task behavior not in the schema: which task values still function without a configured model and which are refused, and the shape of the result for variants (a JSON array of 3 strings). It does not explicitly explain targetLocale's override semantics beyond the schema's own text, keeping it from a 5.

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?

States a specific verb and resource ('Run the CMS's writing assistant on a piece of text') and immediately enumerates the task families it covers (SEO text, summaries, polishing, rewrites, variants, translation, drafting, schema.org fields). This makes it trivially distinguishable from write-oriented siblings like set_field or update_content.

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?

Explicitly routes the agent: 'It saves nothing — write the result with set_field or update_content' and 'It cannot write image alt text... write that yourself and save it with update_asset_alt.' It also states the precondition (a model configured in Settings → AI provider) and which tasks are refused when that precondition fails.

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