Skip to main content
Glama

Lock or open game

set_game_visibility
Idempotent

Changes who can see a game. public: its chosen sounds show in the site's Community list (Home and Sounds), with the owner's @username. private: only the owner sees it; needs a paid plan, and on the free plan the call fails with a message to show the user. Doesn't touch the sounds or spend credits, and calling it again with the same value changes nothing. Only call it when the user asks to lock or open the game.

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": {
      "game_id": "<game_id>",
      "visibility": "<visibility>"
    },
    "name": "set_game_visibility"
  }
}

Input Schema

NameRequiredDescriptionDefault
game_idYesThe game id, from list_games.
visibilityYespublic (its sounds in the Community list) or private (owner only, paid plan).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / visibility / description
      Previous value: -"public (in Explore) or private (owner only, paid plan)."New value: +"public (its sounds in the Community list) or private (owner only, paid plan)."
  2. Changed2 schema fields changed
    • addedInput schema / properties / game_id / description
      Added value: +"The game id, from list_games."
    • addedInput schema / properties / visibility / description
      Added value: +"public (in Explore) or private (owner only, paid plan)."
  3. 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: it discloses that no sounds are modified and no credits are spent, that private requires a paid plan, and that a free-plan attempt fails with a message the agent should surface to the user. These are exactly the side effects and prerequisites an agent cannot infer from readOnlyHint/destructiveHint/idempotentHint alone.

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?

Front-loads the purpose, then mode semantics, then side effects, then the invocation guard. Every sentence carries distinct information; the idempotency sentence restates idempotentHint but adds the useful "changes nothing" framing for an agent.

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 tool with no output schema, the definition covers effect, both mode semantics, plan gating, failure behavior, credit/sound neutrality, and idempotency. Nothing an agent needs to invoke it safely 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, but the description adds real meaning: the owner's @username appears in the public listing, and the Home/Sounds surfaces are named. The enum values themselves are explained only as well as the schema already does, so it falls short of a 5.

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 ("Changes who can see a game") and then defines what each mode means — public puts its sounds in the Community list, private restricts to the owner. An agent knows exactly what this tool affects without opening the 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?

Explicitly restricts invocation to "Only call it when the user asks to lock or open the game," which prevents proactive or speculative calls. It doesn't name alternatives, but no sibling appears to offer a competing visibility operation, so the guidance is effectively complete.

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