Skip to main content
Glama

TextUnited MCP Server

textprocessing_update_style_guide_variant

Replaces an existing variant of a style guide of the calling user's company. This is a full replacement, not a patch: language, domain and body are all set to what you pass. At least one of language or domain is required; the one left unset applies to any. Call get_style_guide_variant first and keep every value the user did not ask to change. A style guide cannot hold two variants for the same language/domain combination. Look identifiers up with list_languages and list_domains. 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": {
      "styleGuideId": "<styleGuideId>",
      "variantId": "<variantId>",
      "content": "<content>"
    },
    "name": "textprocessing_update_style_guide_variant"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentYesThe variant body after the replacement, in plain text.
domainIdNoTerminology domain the variant applies to, as a domain ID from list_domains. Omit or null for any domain. The domain must belong to your company (list_domains returns only those). At least one of languageId or domainId is required.
variantIdYesID of the variant to replace, as listed by get_style_guide.
languageIdNoLanguage the variant applies to, as a TextUnited language ID from list_languages. Omit or null for any language. At least one of languageId or domainId is required.
styleGuideIdYesID of the style guide the variant belongs to, as returned by list_style_guides.

Output Schema

NameRequiredDescriptionDefault
idNoThe variant's ID.
contentNoThe variant body: the writing rules for this language and domain, in plain text.
domainIdNoThe terminology domain this variant applies to, as a domain ID (look it up with list_domains). Null means it applies to any domain.
languageIdNoThe language this variant applies to, as a TextUnited language ID (look it up with list_languages). Null means it applies to any language.
languageCodeNoThe language code this variant applies to, e.g. "EN-US". Null when the variant applies to any language.
styleGuideIdNoID of the style guide this variant belongs to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

No annotations are supplied, and the description carries the full load well: it discloses that this is a destructive full replacement rather than a patch, that language/domain left unset means the variant applies to any subject, and that a uniqueness constraint blocks two variants for the same language/domain combination. It also flags the write and requires confirmation, which is exactly the behavioral context an agent needs.

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 four sentences, with the main action stated first, then the replacement rule, the uniqueness constraint, and the confirmation warning. It is dense and mostly free of filler, though the 'at least one is required' rule duplicates the schema text.

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 five-parameter write tool with an output schema, the description covers the replacement semantics, ID lookup dependencies, the uniqueness constraint, and the confirmation requirement. Nothing material about calling it correctly 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 description coverage is 100%, so the parameters are already fully documented in the schema itself. The description restates the 'at least one of language or domain' rule and the null meaning, which is mildly reinforcing, but adds no new syntax or format detail beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence names a specific verb and resource ("Replaces an existing variant of a style guide") and belongs to the calling user's company, so the scope is clear. The phrase "full replacement, not a patch" further distinguishes it from an incremental update tool, though no sibling tool is explicitly named as the alternative for creating or deleting variants.

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?

The description gives an explicit prerequisite workflow: call get_style_guide_variant first, then keep every value the user did not ask to change. It also names dependency tools for IDs (list_languages, list_domains) and demands user confirmation before the write, so the agent knows exactly when and how to use it.

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