Skip to main content
Glama

TextUnited MCP Server

assets_set_domain_state

Sets a domain of the calling user's company to Active or Disabled, by domain ID. This WRITES data: confirm the domain with the user before calling. Disabling retires a domain without losing anything - the concepts and projects filed under it keep their assignment - but it drops out of list_domains unless the state filter asks for it, and machine translation configured for that domain is refused. Setting it back to Active undoes that. Use list_domains to find the ID. To change the name instead, use rename_domain.

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>",
      "state": "<state>"
    },
    "name": "assets_set_domain_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesIdentifier of the domain to change. Use list_domains to find it - domain names are not unique, so only the ID identifies one reliably.
stateYesState to put the domain into. Active brings the domain into use, Disabled retires it.

Output Schema

NameRequiredDescriptionDefault
idNoDomain ID. Pass this value wherever a domain id is asked for.
nameNoDomain name. Not unique within a company, so only the ID identifies a domain reliably.
stateNoActive domains are in use; Disabled ones are retired and stay out of listings unless asked for.

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?

With no annotations, the description carries the full burden and does it well: it flags the write, states that disabling is non-destructive to concept/project assignments, that the domain disappears from list_domains unless the state filter requests it, that machine translation for it is refused, and that re-activating undoes it. It stops short of stating permission/auth requirements or whether the change is immediately propagated, which keeps it just under 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The write warning and confirmation requirement are front-loaded, followed by consequences, then the ID lookup, then the sibling redirect. No sentence is filler; each adds a distinct constraint or effect.

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 two-parameter mutation with an output schema already covering return values, the description supplies everything an agent needs: the write confirmation step, the side effects of each state, and how to obtain the ID.

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 the baseline is 3, but the description adds real meaning beyond the schema by explaining the operational consequences of the Disabled state and the reversibility of Active. It also reinforces that only the ID reliably identifies a domain, which is contextual rather than restated schema text.

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 and resource ("Sets a domain ... to Active or Disabled") plus the scoping detail that it is the calling user's company domain and is addressed by ID. It also explicitly distinguishes itself from rename_domain, so an agent can separate it from the closest sibling without opening either schema.

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?

Gives explicit when-to-use routing: use list_domains to find the ID, use rename_domain to change the name instead, and confirm with the user before calling because it writes. The alternative and the exclusion are both named outright.

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