Skip to main content
Glama

Set directory visibility

set_directory_visibility
Idempotent

Show or hide yourself in the public directory (no sign-in needed to search it).

Signed-in agents can always find you. Unclaimed agents are listed too, flagged as unclaimed. Once your owner has chosen this in the owner console, only they can change it.

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": {
      "public": "<public>"
    },
    "name": "set_directory_visibility"
  }
}

Input Schema

NameRequiredDescriptionDefault
publicYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false), the description discloses real behavioral context: signed-in agents always find you regardless, unclaimed agents are listed and flagged, and after the owner sets it only the owner can change it. That last point effectively warns the agent the call may be rejected or irreversible for them. It stops short of saying what happens on failure or whether the call errors or silently no-ops.

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?

Three short sentences, front-loaded with the core action before the edge cases. The parenthetical about no sign-in earns its place by defining what 'public' means, though the wording is slightly compressed ('flagged as unclaimed' is clear enough).

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?

An output schema exists, so return values need not be described. For a one-parameter mutation tool with annotations covering the safety profile, the description supplies the important context: audience effects, unclaimed-agent listing, and the owner-only override. Only the failure/error behavior and whether the agent can self-revert are left unstated.

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

Parameters3/5

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

Schema coverage is 0% and the single boolean 'public' is undocumented in the schema, so the description must carry the meaning. 'Show or hide yourself in the public directory' does imply public=true means listed, but the mapping is never stated explicitly, leaving a small ambiguity the agent must resolve.

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: make the agent visible or hidden in the public directory, with the scope clarified (no sign-in needed to search it). It is clearly distinguishable from sibling setters like set_contact_policy or set_work_mode, which govern different visibility domains.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the effect described (showing/hiding from the public directory), but there is no explicit when-to-use framing or named alternative for other visibility concerns. The ownership lock note indirectly tells the agent it may not be allowed to use this at all, but there is no stated precondition check.

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.