Skip to main content
Glama

Change resource visibility

resource_change_visibility

Preview publishing or unpublishing a resource.

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": {
      "resourceType": "<resourceType>",
      "resourceId": "<resourceId>",
      "visibility": "<visibility>"
    },
    "name": "resource_change_visibility"
  }
}

Input Schema

NameRequiredDescriptionDefault
resourceIdYes
visibilityYes
resourceTypeYes
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / conversation_id
      Added value: +{
      +  "description": "The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.",
      +  "type": "string"
      +}
  2. Added

TDQS

C2.4/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false and idempotentHint=false, meaning the call is neither a pure read nor safely repeatable, yet the description only says "Preview" and leaves open whether state actually changes. It offers no information about permissions, whether a confirmation step follows, or what the preview response contains. The word "Preview" also sits in tension with readOnlyHint=false, which is a real ambiguity an agent must resolve unaided.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single front-loaded sentence with no wasted words, which is structurally sound. The problem is the opposite of verbosity: it is too terse to carry the necessary meaning for a mutation-adjacent tool, so the brevity reflects under-specification rather than discipline.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, a non-read-only mutation hint, four parameters (three required) and only 25% schema coverage, the description is materially incomplete. An agent cannot determine what the preview returns, whether a change is committed, or how this interacts with confirm_action and cancel_action before invoking it.

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

Parameters2/5

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

Schema description coverage is only 25% (only conversation_id is documented), so the description carries the burden of explaining resourceType, resourceId, and visibility. It adds nothing: it never explains that visibility accepts PUBLIC/PRIVATE, never notes the valid resourceType enum, and never clarifies whether resourceId is the target of the preview or an existing publication.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a verb+object ("Preview publishing or unpublishing a resource") that roughly maps to the visibility enum PUBLIC/PRIVATE, so an agent can guess the intent. However, it never uses the word "visibility" and never distinguishes this from adjacent capabilities such as map_publish, map_publication_activate, project_set_layer_visibility, or resource_access_get. The purpose is inferable but not stated precisely.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, no statement that this precedes confirm_action or can be abandoned via cancel_action, and no indication of which resource types require a different tool. The presence of confirm_action/cancel_action siblings makes this omission costly, since an agent cannot tell whether calling this alone is sufficient.

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