Skip to main content
Glama

Set app visibility

set_app_visibility
DestructiveIdempotent

Sets who can open an app without an invitation: public, signup or private, for when the person asks for that. It replaces the app's current visibility, and invitations and data stay as they are. public opens it to the public web: anyone can open it, signed in or not. signup opens it to anyone who signs up for Cloche. A stranger sees only its join page, and whoever joins enters as user. The platform owns the way in, so the app needs no login or code-entry screen. A skill is shared, not joined, so it is refused. language sets the join page's language, en or he, and omitted keeps the current one. private closes it again, and every live share link stops working for everyone holding one. Invitations stay valid. stopped_links is how many links it stopped. public and signup leave share links as they are.

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": {
      "app_id": "<app_id>",
      "visibility": "<visibility>"
    },
    "name": "set_app_visibility"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYesthe app to change, from a reply or list_apps
languageNothe join page's language for signup, en or he; omit keeps the current one
visibilityYespublic, signup or private

Output Schema

NameRequiredDescriptionDefault
visibilityYesthe visibility this call set
stopped_linksYeshow many share links private stopped; those links no longer open the app for anyone holding one

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructive/openWorld/idempotent, and the description adds real behavior beyond them: current visibility is replaced, invitations and data survive, private invalidates every live share link for all holders, public/signup leave links untouched, and stopped_links reports the count. It also explains that the platform owns the join flow so the app needs no login or code-entry screen, and that joins land as the user role.

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?

Purpose and value space are front-loaded, and nearly every clause carries behavioral information (share-link consequences, role on join, skill refusal). There is minor restatement, e.g. "private closes it again" and "public opens it to the public web: anyone can open it," which is slightly redundant but not wasteful enough to hurt usability.

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 destructive, open-world mutation with an output schema, the description covers mode semantics, side effects on existing share links, preserved state (invitations, data), the skill edge case, and the language default. Combined with the output schema carrying stopped_links, an agent has what it needs to call it correctly and set expectations.

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 still adds meaning the schema lacks, spelling out what public versus signup actually admit (signed in or not, join page only, joins as user) and clarifying that language affects only the join page and defaults to current. app_id handling is left entirely to the schema, which is acceptable given full coverage.

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?

"Sets who can open an app without an invitation: public, signup or private" states a specific verb, resource, and the exact value space in the first clause. The description then distinguishes this from adjacent notions (invitations, share links, skills), so an agent can tell it apart from invite_to_app, share_app_by_link, and revoke_app_link without opening minimal extra context.

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?

"for when the person asks for that" gives an explicit trigger, and "A skill is shared, not joined, so it is refused" is a concrete when-not case. It also implicitly separates this tool from invitation and share-link tools by stating those are unaffected. It does not name a sibling alternative outright, which keeps it short of 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.