Skip to main content
Glama

TextUnited MCP Server

textprocessing_update_style_guide

Replaces an existing style guide of the calling user's company by ID. This is a full replacement, not a patch, of the style guide's own fields: name, content, status and default are all overwritten with what you pass, so an omitted status resets to Draft and an omitted default clears the default flag. Its variants are NOT affected by this call - manage them with create_style_guide_variant, update_style_guide_variant and delete_style_guide_variant. Call get_style_guide first, keep every value the user did not ask to change, and pass them all back here. It is the company default only when isDefault is true and its status is Published: setting isDefault true makes it the default in one step and clears whichever style guide was default before, while moving a default style guide to Draft clears its default. A company always has at most one default. This WRITES data: show the complete intended result and confirm it with the user before calling.

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": {
      "id": "<id>",
      "name": "<name>",
      "content": "<content>"
    },
    "name": "textprocessing_update_style_guide"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesID of the style guide to replace, as returned by list_style_guides.
nameYesName after the replacement. Required and must not be blank; surrounding whitespace is trimmed.
statusNoStatus after the replacement. Defaults to Draft when omitted. Only Published style guides are applied when processing text. See list_style_guide_statuses for the values.Draft
contentYesThe general style guide body after the replacement, in plain text. Required and must not be blank. This is the fallback applied when no language/domain variant matches; variants are managed separately and are not touched by this call.
isDefaultNoWhether this becomes the company's default style guide after the replacement. Defaults to false, which clears the default flag if it was set. Only takes effect when status is Published - it is ignored for a Draft, so downgrading a default style guide to Draft clears its default. Setting it true makes this the default and clears whichever style guide was default before, so this is how you switch the default in one call.

Output Schema

NameRequiredDescriptionDefault
idNoThe style guide's ID, as the other TextUnited APIs expect it.
nameNoHuman-readable name of the style guide.
statusNoWhether the style guide is a Draft or Published. Only Published style guides are used when processing text.
contentNoThe general style guide body: the writing rules themselves, in plain text. This is the fallback applied when no variant matches the language and domain being processed.
defaultNoTrue when this is the company's default style guide, applied when no specific one is chosen.
variantsNoThe language- and domain-specific variants of this style guide. Each lists which language and domain it applies to; a variant's own body is not included here - read it with get_style_guide_variant.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

No annotations exist, so the description carries the full burden and does so: it discloses that this is a full replacement (omitted status resets to Draft, omitted default clears the flag), the side effect of isDefault=true clearing the previous default, the one-default invariant, and the interaction between status and default. It also flags the write explicitly.

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?

Front-loaded with the replacement semantics and side effects before the workflow instructions. Dense but every sentence carries a distinct constraint; the only cost is some overlap with what the schema already documents for status and isDefault.

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?

Output schema exists, so return values need no explanation. For a 5-parameter destructive replacement with no annotations, the description covers the replacement semantics, variant boundary, default-invariant, and confirmation requirement — nothing material is missing.

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?

Schema coverage is 100% and the parameter descriptions already state the Draft default, the isDefault-clears-flag behavior, and the Published-only condition, so the description mostly restates rather than extends. It adds the aggregate rule that a company has at most one default and the switching-in-one-step framing, but little parameter-level detail beyond the schema.

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?

Opens with a specific verb+resource+scope: 'Replaces an existing style guide of the calling user's company by ID.' It immediately distinguishes itself from sibling variant tools and from create_style_guide by naming the resource precisely.

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: variants must be handled with create/update/delete_style_guide_variant, and the agent is told to call get_style_guide first, preserve unchanged values, and pass them all back. It also gives a when-to-confirm rule ('show the complete intended result and confirm it with the user before calling'), which is a rare and valuable pre-call gate.

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