Skip to main content
Glama

ohmyho.st

Show or hide the "Powered by ohmyho.st" flag

powered_by_flag_set
DestructiveIdempotent

Owner-only. Show or hide a small "Powered by ohmyho.st" flag on the right edge of the production site. While it is on, this project's custom domain uses no domain credits on any plan and also works on a Free workspace, and each Paid period bought through Stripe adds 250 credits to the workspace, however many of its projects show the flag. Hiding it is refused while a Free workspace's domain depends on it. Replay the same key and value after uncertainty to get the first answer without switching again; every new switch needs a new key.

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": {
      "project_id": "<project_id>",
      "idempotency_key": "<idempotency_key>",
      "enabled": "<enabled>"
    },
    "name": "powered_by_flag_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledYes
project_idYesProject identifier.
idempotency_keyYesIdentifies one mutation and its canonical request payload.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true), the description discloses the actual consequences of the switch: custom domain uses no domain credits, works on Free workspaces, and each Stripe-paid period adds 250 credits. It also states the hard failure mode when hiding, which is exactly the behavioral context an agent needs before invoking a destructive toggle.

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?

It is front-loaded with the owner-only restriction and the core effect, and no sentence is filler. The middle sentence is a long run-on packing credits, Free-workspace behavior, and the refusal condition together, which slightly hurts parseability.

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 three-parameter boolean toggle with no output schema, it covers authorization, side effects, the failure case, and retry semantics — nothing an agent needs to call it correctly 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?

The schema documents project_id and leaves enabled bare; the description supplies the meaning of enabled (flag visible vs hidden) and, importantly, explains idempotency_key semantics — replay the same key and value to get the first answer, every new switch needs a new key. That is real meaning beyond the schema's 'Identifies one mutation' phrasing.

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 states a specific verb pair and resource: "Show or hide a small 'Powered by ohmyho.st' flag on the right edge of the production site." It is unmistakably the mutating counterpart to the sibling getter powered_by_flag_get, and the scope (production site, right edge) is concrete.

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 a clear prerequisite ("Owner-only") and a refusal condition ("Hiding it is refused while a Free workspace's domain depends on it"), plus retry guidance for the idempotency key. It stops short of explicitly routing the agent to powered_by_flag_get to read current state before switching, so the alternative-tool guidance is implied rather than stated.

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.