Skip to main content
Glama

project_write

Idempotent

Access the project write operations listed below. Compatibility dispatcher; prefer the individually named tool when available. Select operation and its matching payload. Supported operations: create_project, set_editor_preference. Effects and required fields depend on that operation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
payloadYesArguments for the selected operation. Follow its matching oneOf branch; fields and side effects differ by operation.
operationYesExact operation to dispatch; prefer its individually named tool when available.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "operation": {
      -        "const": "create_project",
      -        "type": "string"
      -      },
      -      "payload": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "displayName": {
      -            "maxLength": 120,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "idempotencyKey": {
      -            "maxLength": 128,
      -            "minLength": 16,
      -            "pattern": "^[A-Za-z0-9_-]+$",
      -            "type": "string"
      -          },
      -          "projectType": {
      -            "maxLength": 64,
      -            "minLength": 1,
      -            "pattern": "^[a-z0-9][a-z0-9_-]*$",
      -            "type": "string"
      -          },
      -          "types": {
      -            "items": {
      -              "maxLength": 64,
      -              "minLength": 1,
      -              "pattern": "^[a-z0-9][a-z0-9_-]*$",
      -              "type": "string"
      -            },
      -            "maxItems": 16,
      -            "type": "array",
      -            "uniqueItems": true
      -          }
      -        },
      -        "required": [
      -          "displayName",
      -          "projectType",
      -          "types",
      -          "idempotencyKey"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "operation",
      -      "payload"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "operation": {
      -        "const": "set_editor_preference",
      -        "type": "string"
      -      },
      -      "payload": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "details": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "referenceIds": {
      -                "items": {
      -                  "maxLength": 500,
      -                  "minLength": 1,
      -                  "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
      -                  "type": "string"
      -                },
      -                "maxItems": 100,
      -                "type": "array",
      -                "uniqueItems": true
      -              },
      -              "status": {
      -                "maxLength": 200,
      -                "minLength": 1,
      -                "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
      -                "type": "string"
      -              },
      -              "summary": {
      -                "maxLength": 240,
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "executionId": {
      -            "maxLength": 200,
      -            "minLength": 1,
      -            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
      -            "type": "string"
      -          },
      -          "expectedVersion": {
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          "idempotencyKey": {
      -            "maxLength": 128,
      -            "minLength": 16,
      -            "pattern": "^[A-Za-z0-9_-]+$",
      -            "type": "string"
      -          },
      -          "projectId": {
      -            "maxLength": 200,
      -            "minLength": 1,
      -            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
      -            "type": "string"
      -          },
      -          "sessionId": {
      -            "maxLength": 200,
      -            "minLength": 1,
      -            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "projectId",
      -          "idempotencyKey"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "operation",
      -      "payload"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "operation": {
      +        "const": "create_project",
      +        "description": "Select this exact operation; payload must match this branch.",
      +        "type": "string"
      +      },
      +      "payload": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "displayName": {
      +            "maxLength": 120,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "idempotencyKey": {
      +            "description": "Caller-generated retry key. Reuse the same key and identical payload only to retry the same mutation; use a new key for a new action.",
      +            "maxLength": 128,
      +            "minLength": 16,
      +            "pattern": "^[A-Za-z0-9_-]+$",
      +            "type": "string"
      +          },
      +          "projectType": {
      +            "maxLength": 64,
      +            "minLength": 1,
      +            "pattern": "^[a-z0-9][a-z0-9_-]*$",
      +            "type": "string"
      +          },
      +          "types": {
      +            "items": {
      +              "maxLength": 64,
      +              "minLength": 1,
      +              "pattern": "^[a-z0-9][a-z0-9_-]*$",
      +              "type": "string"
      +            },
      +            "maxItems": 16,
      +            "type": "array",
      +            "uniqueItems": true
      +          }
      +        },
      +        "required": [
      +          "displayName",
      +          "projectType",
      +          "types",
      +          "idempotencyKey"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "operation",
      +      "payload"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "operation": {
      +        "const": "set_editor_preference",
      +        "description": "Select this exact operation; payload must match this branch.",
      +        "type": "string"
      +      },
      +      "payload": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "details": {
      +            "additionalProperties": false,
      +            "description": "Optional bounded metadata using only the listed fields, such as summary, status and referenceIds. Not arbitrary command arguments or source content.",
      +            "properties": {
      +              "referenceIds": {
      +                "items": {
      +                  "maxLength": 500,
      +                  "minLength": 1,
      +                  "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
      +                  "type": "string"
      +                },
      +                "maxItems": 100,
      +                "type": "array",
      +                "uniqueItems": true
      +              },
      +              "status": {
      +                "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
      +                "maxLength": 200,
      +                "minLength": 1,
      +                "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
      +                "type": "string"
      +              },
      +              "summary": {
      +                "maxLength": 240,
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "executionId": {
      +            "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
      +            "maxLength": 200,
      +            "minLength": 1,
      +            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
      +            "type": "string"
      +          },
      +          "expectedVersion": {
      +            "description": "Current version of the target record from its latest read or mutation result. A stale value causes a version conflict; re-read before retrying.",
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "idempotencyKey": {
      +            "description": "Caller-generated retry key. Reuse the same key and identical payload only to retry the same mutation; use a new key for a new action.",
      +            "maxLength": 128,
      +            "minLength": 16,
      +            "pattern": "^[A-Za-z0-9_-]+$",
      +            "type": "string"
      +          },
      +          "projectId": {
      +            "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
      +            "maxLength": 200,
      +            "minLength": 1,
      +            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
      +            "type": "string"
      +          },
      +          "sessionId": {
      +            "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
      +            "maxLength": 200,
      +            "minLength": 1,
      +            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "projectId",
      +          "idempotencyKey"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "operation",
      +      "payload"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / operation / description
      Added value: +"Exact operation to dispatch; prefer its individually named tool when available."
    • addedInput schema / properties / payload / description
      Added value: +"Arguments for the selected operation. Follow its matching oneOf branch; fields and side effects differ by operation."
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare non-read-only, idempotent, non-destructive, closed-world behavior, so the safety profile is covered structurally. The description adds only the generic note that "effects and required fields depend on that operation," without disclosing what each operation mutates or any auth/conflict behavior beyond what idempotencyKey/expectedVersion already explain in the schema.

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?

Five short sentences, dispatcher role and the prefer-sibling rule are front-loaded, and the operation list is easy to scan. The closing sentence about effects depending on the operation is somewhat redundant with the preceding content.

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?

For a dispatcher over a rich oneOf schema with annotations and no output schema, the description gives enough to select the right branch and highlights that each operation differs. It stops short of per-operation behavioral detail, but nothing required to invoke it correctly is missing.

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% and the oneOf branches fully document operation, payload, idempotencyKey and expectedVersion semantics. The description only restates that the payload must match the selected operation, adding no syntax or field meaning beyond the schema; baseline 3 applies.

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 states it is a compatibility dispatcher for write operations and names the two operations it routes (create_project, set_editor_preference), which lets an agent identify it apart from the individually named sibling tools. It is clear but does not describe what each operation actually accomplishes.

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?

"Compatibility dispatcher; prefer the individually named tool when available" gives explicit routing guidance toward the sibling tools, and "Select operation and its matching payload" explains the calling pattern. No exclusions or contradictory cases are described, but the key preference rule is stated.

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