Skip to main content
Glama

set_published

DestructiveIdempotent

Publish or unpublish a List or View at its stable public link. Unpublishing removes public access, so confirm that intent; repeating the same value is idempotent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
list_idNoThe list id. Pass this OR list_name.
view_idNoThe View id. Pass this OR view_name.
list_nameNoThe list name, matched case-insensitively. Pass this OR list_id.
publishedYesTrue to publish; false to unpublish.
view_nameNoThe View name, matched case-insensitively. Pass this OR view_id.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesWhether noticed completed the operation.
dataNoThe operation result when ok is true.
errorNoA human-readable error when ok is false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": true,
      +  "properties": {
      +    "data": {
      +      "additionalProperties": false,
      +      "description": "The operation result when ok is true.",
      +      "properties": {
      +        "is_published": {
      +          "type": "boolean"
      +        },
      +        "public_url": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "resource_id": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "resource_id",
      +        "is_published",
      +        "public_url"
      +      ],
      +      "type": "object"
      +    },
      +    "error": {
      +      "description": "A human-readable error when ok is false.",
      +      "type": "string"
      +    },
      +    "ok": {
      +      "description": "Whether noticed completed the operation.",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "ok"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.9/5.0
Behavior5/5

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

The description goes beyond annotations by specifying that unpublishing removes public access and that repeating the same value is idempotent. This is more specific than the generic destructiveHint and idempotentHint.

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?

The description is concise (two sentences), front-loads the core action, and includes important caveats without unnecessary detail.

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?

Given that an output schema exists, return values need not be explained. The description covers the action, side effects, idempotency, and a warning, which is sufficient for a toggle operation.

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?

All parameters have descriptions (100% coverage), but they are minimal and do not explicitly clarify that list and view identifiers are mutually exclusive. The tool description says 'a List or View' implying exclusivity, but the schema leaves ambiguity if both are provided.

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 clearly states the action ('Publish or unpublish') and the resource ('List or View'), with a specific aspect ('at its stable public link'). It distinguishes from siblings like update_list or update_view which modify other properties.

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

Usage Guidelines5/5

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

The description implies when to use this tool (when toggling publish status) and provides a caution about unpublishing removing public access, suggesting confirmation. While alternatives are not explicitly named, the scope is unambiguous.

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