Skip to main content
Glama

TextUnited MCP Server

textprocessing_create_style_guide_variant

Adds a new variant to a style guide of the calling user's company. A variant is the language- and domain-specific version of a style guide, so at least one of language or domain is required; the one left unset applies to any. 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: confirm the language, domain and body 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>",
      "content": "<content>"
    },
    "name": "textprocessing_create_style_guide_variant"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentYesThe variant body, 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.
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 to add the variant 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.7/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden and does well: it declares this is a WRITE, requires pre-call confirmation of language, domain and body, and discloses the duplicate-combination rejection rule. It stops short of stating permission/role requirements or what happens on conflict beyond the bare rule, so it is strong but not exhaustive.

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?

Four short sentences, front-loaded with the action, then the concept, then constraints, then the confirmation warning. Every sentence carries distinct information; nothing is redundant 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?

Four parameters are fully schema-documented, an output schema exists so return values need no explanation, and the description covers the mutation nature, required-field rule, ID lookup sources and the confirmation gate. Nothing an agent needs to call this correctly 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 all four parameters are already self-documenting and the baseline would be 3. The description adds conceptual meaning (a variant is the language/domain-specific version of a style guide; unset means "any") and reinforces the languageId/domainId constraint, which helps an agent reason about the two nullable fields.

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?

"Adds a new variant to a style guide of the calling user's company" is a specific verb+resource, and the following sentence defines what a variant is (language- and domain-specific version), which an agent cannot infer from the name alone. The verb "adds" plus the functional definition cleanly separates it from the get/update/delete variant siblings.

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 states the hard prerequisite (at least one of language or domain), the semantics of the unset field (applies to any), a uniqueness constraint that blocks certain calls, and the lookup path (list_languages and list_domains) for resolving IDs. It also demands user confirmation before writing, giving explicit invocation guidance rather than leaving it to inference.

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