Skip to main content
Glama

getWritingGuidelines

CALL THIS FIRST before you write or rewrite ANY public text (pages, posts, glossary, faqs, jobs, team, testimonials or any other collection with public text) — once per task and target collection/locale. Returns the complete writing brief the site's own AI uses: brand voice and addressing, the house writing rules (internal — follow them, never state them), fixed terms that stay unchanged in every language, the terms & language rules of the requested locale, available placeholders, the author voice (with teamAuthor), the site-wide SEO rules (branding.aiSeoRules), the SEO meta rules (title/description length, title suffix), the keywords already taken in this locale (do not reuse) with their doc ids for internal links, the fields of the collection and how to write them via MCP. Pass topic (a few words or your draft) so the most related taken keywords come first. The response is INTERNAL guidance — never publish it.

Input Schema

NameRequiredDescriptionDefault
topicNoWhat you are writing about (keywords or your draft) — the taken keywords most related to it come first.
localeNoLocale you are writing (default: the site default locale). Call again per locale.
collectionYesTarget collection slug, e.g. "pages", "posts", "glossary", "faqs".
teamAuthorNoTeam member id when the text is published AS a person (authorMode "person"); adds their voice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / topic / description
      Previous value: -"What you are writing about (keywords or your draft) — ranks the knowledge rules for it."New value: +"What you are writing about (keywords or your draft) — the taken keywords most related to it come first."
  2. Added

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that the response is INTERNAL guidance, that house rules must be followed but never stated, that fixed terms stay unchanged across languages, and that taken keywords must not be reused. It does not mention permission requirements, error behavior, or rate limits, which keeps it short of a 5.

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 imperative 'CALL THIS FIRST' is front-loaded, which is correct for a prerequisite tool, and the enumeration of returned brief contents earns its place given there is no output schema. It is dense but not padded; a slight trim of the long return-value list could improve it.

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 prerequisite/guidance tool with no output schema, the description fully explains what will be returned and the confidentiality constraint, so an agent knows both what to expect and how to treat the result. Nothing essential to correct invocation is missing.

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 baseline is 3, but the description adds real meaning: it explains that `topic` prioritizes related taken keywords, that `locale` should be re-called per locale, and how `teamAuthor` injects a person's voice. These go beyond the schema's own wording.

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+resource (retrieve the writing brief/guidelines) and enumerates exactly what comes back: brand voice, house rules, fixed terms, locale rules, placeholders, author voice, SEO rules, taken keywords, and field-level writing guidance. This clearly distinguishes it from the find*/report* siblings, which retrieve or flag content rather than supply writing guidance.

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 says 'CALL THIS FIRST before you write or rewrite ANY public text' and specifies cadence 'once per task and target collection/locale.' It also spells out the condition for re-invoking per locale and instructs passing `topic` so relevant taken keywords rank first.

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