Skip to main content
Glama

Set Codecks Project Visibility

codecks_set_project_visibility
Destructive

Set a Codecks project's visibility to public, private, archived, or deleted to control access or remove it when no longer needed.

Instructions

Update a project's visibility (including deletion).

Args:

  • project_id (string): Project ID

  • visibility (enum, optional): deleted | archived | private | public (default: deleted)

  • session_id (string, optional): Client session ID from web app

Returns: API response payload with the update result.

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>"
    },
    "name": "codecks_set_project_visibility"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesProject ID
session_idNo[DEPRECATED] Client session ID - not required for MCP usage
visibilityNoVisibility to set (use 'deleted' to remove)deleted

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and openWorldHint=true, so the risk profile is largely covered. The description usefully reinforces that the call can delete a project and that the default visibility is 'deleted', but it says nothing about irreversibility of deletion, authorization requirements, or what happens to the project's contents.

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?

The leading sentence is front-loaded and effective, but the Args block duplicates the schema verbatim and the Returns line ('API response payload with the update result') conveys almost nothing. Roughly half the text does not earn its place.

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

Completeness3/5

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

For a three-parameter mutation with full schema coverage and annotations present, the definition is minimally adequate. However, a destructive tool with no output schema and no explanation of deletion consequences leaves an agent without the context needed to invoke it safely.

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 description coverage is 100%, so the baseline is 3. The description merely restates the three parameters and their enum values, adding no syntax, format, or validation detail beyond the schema; notably it omits the schema's '[DEPRECATED]' marker on session_id.

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

Purpose4/5

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

The description names a specific verb (update) and resource (project's visibility) and explicitly flags that deletion is one of the possible modes. It does not name or contrast with any sibling, but none of the listed siblings appear to set visibility, so the operation is distinguishable on its face.

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 guidance: nothing explains when an agent should archive vs. make private vs. delete a project, nor any prerequisite such as required permissions or confirmation before a destructive call. The only hint is the schema echo "use 'deleted' to remove".

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools