Skip to main content
Glama

Change flagged content settings

stack_set_flagged_content_settings

Change what the customer's controls do with flagged content: warning and critical each take withhold or deliver; one left out keeps its value. It applies at once while controls are on, with no approval, and is recorded in the signed record. With controls off flagged content is delivered with its flag whatever this says. Operator only, owner or admin; an agent session is refused. Returns warning, critical and controls.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "stack_set_flagged_content_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
warningNowithhold or deliver, for content flagged with a warning
criticalNowithhold or deliver, for content flagged as critical

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false), it discloses immediacy, absence of an approval step, audit logging ('recorded in the signed record'), partial-update semantics, and the no-op condition when controls are off. It also names the return payload ('warning, critical and controls'), which matters because there is no output schema.

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?

Three sentences, front-loaded with the core action, with no filler or marketing language. The semicolon-chained phrasing ('warning and critical each take withhold or deliver; one left out keeps its value') is dense and slightly clipped, but every clause carries operational information.

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?

For a two-parameter, non-destructive mutation with no output schema, this covers permission requirements, timing, partial updates, the disabled-controls case, and return values. The only unstated piece is failure behavior for a refused session (error shape) and how to read back the resulting state.

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 the schema does not: 'one left out keeps its value' explains that both properties are optional and that omission preserves state rather than clearing it. The allowed values themselves are left to the schema/enum, which is appropriate.

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?

The description opens with a specific verb and resource ('Change what the customer's controls do with flagged content') and enumerates the two settable dimensions, warning and critical. It is clearly the mutation counterpart to the read-only sibling stack_get_flagged_content_settings, so an agent can choose between them 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 Guidelines4/5

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

It gives strong context for when the change takes effect ('applies at once while controls are on, with no approval') and an explicit when-not condition ('With controls off flagged content is delivered with its flag whatever this says'). It also states the permission gate ('Operator only, owner or admin; an agent session is refused'). It stops short of naming an alternative tool or pointing at the getter for verification, so not a full 5.

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.