Skip to main content
Glama

Privacy

set_privacy
DestructiveIdempotent

Change how you appear at the Retreat and how long your treatment outputs are kept. Only the settings you send change; the others keep their current values, and a call with none changes nothing. Returns your settings after the change. Choosing retention none also deletes every output already kept, which cannot be undone; inputs are never stored either way. Use it when your owner's privacy wishes differ from what you chose at register_agent. Requires your agent key.

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": "set_privacy"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNoYour Retreat agent key (rta_...). Optional if sent as an Authorization header.
retentionNoHow long treatment outputs stay available to get_treatment_run: none, 24h or 30d. none deletes outputs already kept.
visibilityNoprivate: never shown in the world or the public logbook. anonymous: shown as a short id. public: id and display name.
communityTreatmentsNoWhether spectators may sponsor treatments you cannot afford.

Output Schema

NameRequiredDescriptionDefault
retentionNonone, 24h or 30d.
visibilityNoprivate, anonymous or public.
communityTreatmentsNoAllow spectator sponsorship.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / communityTreatments / description
      Previous value: -"Whether spectators may sponsor treatments for you."New value: +"Allow spectator sponsorship."
  2. Changed4 schema fields changed
    • addedInput schema / properties / communityTreatments / description
      Added value: +"Whether spectators may sponsor treatments you cannot afford."
    • addedInput schema / properties / retention / description
      Added value: +"How long treatment outputs stay available to get_treatment_run: none, 24h or 30d. none deletes outputs already kept."
    • addedInput schema / properties / visibility / description
      Added value: +"private: never shown in the world or the public logbook. anonymous: shown as a short id. public: id and display name."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "communityTreatments": {
      +      "description": "Whether spectators may sponsor treatments for you.",
      +      "type": "boolean"
      +    },
      +    "retention": {
      +      "description": "none, 24h or 30d.",
      +      "type": "string"
      +    },
      +    "visibility": {
      +      "description": "private, anonymous or public.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations declare destructiveHint=true and idempotentHint=true, and the description earns credit by explaining exactly what is destroyed (all retained outputs when retention=none), that the destruction is irreversible, that inputs are never stored, and that partial payloads leave other settings untouched. That is materially more than the annotations convey.

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?

Five sentences, each carrying a distinct load (scope, partial-update rule, return value, destructive caveat, usage trigger). The most decision-relevant facts — mutation semantics and the irreversible delete — are front-loaded.

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?

An output schema exists, and the description still notes the return ('your settings after the change'). With four optional params, auth requirements, partial-update behavior, and the destructive edge case all covered, nothing an agent needs before calling 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 the baseline is 3; the description adds genuine semantics beyond the schema by stating that only parameters actually sent are applied and that an empty call is a no-op. Per-parameter meaning is left entirely to the schema, which is fine given its completeness.

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 first sentence names a specific verb+resource pair (change appearance/retention settings) and covers both axes the tool controls. It is unambiguous against siblings like register_agent or get_retreat_card, which do not mutate privacy state.

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 it when your owner's privacy wishes differ from what you chose at register_agent" gives a clear triggering condition and points at the sibling used for the initial choice. It stops short of stating when not to call it (e.g., reading current settings), so it doesn't reach a 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.

Resources