Skip to main content
Glama

update_campaign_visibility

Destructive

Replace the team-wide campaign visibility, which decides who can see and act on teammates' campaigns: PRIVATE (only each campaign's owner and co-owners), ADMINS_ONLY (also team owners and admins) or ALL_MEMBERS (every team member). Narrowing it removes other members' access at once. Team owners and admins only.

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": {
      "visibilityMode": "<visibilityMode>"
    },
    "name": "update_campaign_visibility"
  }
}

Input Schema

NameRequiredDescriptionDefault
visibilityModeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the authorization gate ("Team owners and admins only") and the concrete destructive effect ("Narrowing it removes other members' access at once"), which gives real substance to destructiveHint=true. It also clarifies replace-not-merge semantics that no structured field conveys.

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?

One front-loaded sentence plus the mode enumeration and a consequence clause; every element adds information and nothing is repeated from the schema or annotations. The colon-then-list structure makes the enum meanings scannable.

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 single-parameter mutation with annotations and no output schema, the description covers authorization, scope, replacement semantics, and the effect of narrowing. Minor gaps remain: whether a prior mode can be restored and what the call returns as confirmation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden, and it does: each enum value is given a plain-language meaning (PRIVATE = owner and co-owners, ADMINS_ONLY = also team owners and admins, ALL_MEMBERS = every team member). This resolves the ambiguity an agent would otherwise face when choosing among the three values.

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 ("Replace the team-wide campaign visibility") and immediately defines what that resource governs ("who can see and act on teammates' campaigns"). The three enumerated modes make it unmistakable versus the sibling get_campaign_visibility (a read) and versus the domain/inbox visibility updaters, which operate on different scopes.

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?

Use context is clear: this is the team-wide setting, it is a full replacement rather than a merge, and it is restricted to team owners and admins. It also warns that narrowing the mode is immediately consequential. It stops short of pointing to get_campaign_visibility for reading the current value before changing it, which would have made routing explicit.

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.