Skip to main content
Glama

update_language_custom_style

Set saved per-language style instructions, or clear them with null.

    This persists workspace settings for the ID from list_language_settings.
    

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": {
      "mapping_id": "<mapping_id>",
      "custom_style": "<custom_style>"
    },
    "name": "update_language_custom_style"
  }
}

Input Schema

NameRequiredDescriptionDefault
mapping_idYesExact workspace language mapping ID returned by list_language_settings.
custom_styleYesCustom style instructions for this language mapping.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / custom_style / description
      Added value: +"Custom style instructions for this language mapping."
    • addedInput schema / properties / mapping_id / description
      Added value: +"Exact workspace language mapping ID returned by list_language_settings."
  2. First observed

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the important traits: this is a persistent workspace-level write, and passing null clears rather than appends. It omits permissions/auth requirements, whether an existing style is overwritten wholesale, and whether other settings on the mapping are touched.

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?

Two short sentences, front-loaded with the action and the null-clearing behavior, followed by the persistence/ID prerequisite. No filler sentences.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple (2 required params, 100% schema coverage, output schema present so return values need not be described), and the description covers the write semantics, the clear case, and where to obtain the ID. The only material gap is disambiguation from the sibling style/formality update tools.

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 would be 3, but the description adds real meaning by stating that null is not merely allowed but is the explicit clear/reset operation. It also reinforces that mapping_id must be an exact ID from list_language_settings rather than a language code.

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 description gives a specific verb ('Set') and resource ('saved per-language style instructions') and adds the inverse operation ('clear them with null'). It is clearly distinct from global style-guide tools in the sibling list, though it does not explicitly name how it differs from update_language_formality or update_style_guide.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'This persists workspace settings for the ID from list_language_settings' supplies a concrete prerequisite and names the sibling that produces the required mapping_id, which is real routing guidance. It stops short of stating when to prefer this over the other update_* style tools or any exclusions.

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.