Skip to main content
Glama

Edit project

edit_project
DestructiveIdempotent

Edit project presentation or rename a specific artifact. This changes folder/item metadata, not video content. Sharing and invitations are separate permission-sensitive actions. Supply the inspected revisions for exactly the affected documents and a new mutationId UUID. A stale revision conflicts atomically; recover an uncertain result with get_project_edit.

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": {
      "mutationId": "<mutationId>",
      "commands": "<commands>",
      "expectedDocuments": "<expectedDocuments>",
      "projectId": "<projectId>"
    },
    "name": "edit_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
commandsYes
projectIdYes
mutationIdYes
expectedDocumentsYes

Output Schema

NameRequiredDescriptionDefault
outcomeYes
projectIdYes
mutationIdYes
videoEditIdNoPresent when outcome is STARTED. Poll GET /v1/projects/{projectId}/video-edits for this id to follow the background task.
editableVideoIdNo
projectRevisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructive=true and idempotent=true, but the description adds substantial context beyond them: the optimistic-concurrency model (supply inspected revisions, stale revisions conflict atomically) and the mutationId UUID idempotency key. It also clarifies what is NOT modified (video content, sharing permissions), which is exactly the kind of consequence detail a mutation tool needs.

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, front-loaded with the core action and scope before the concurrency mechanics and recovery path. Every sentence carries information; density is high but nothing is redundant.

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?

With an output schema present, return values need no explanation, and the description covers safety, idempotency, conflict behavior, and recovery. The remaining gap is the unenumerated command types and what 'project presentation' concretely covers, which the schema alone must supply.

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?

Schema coverage is 0%, so the description must compensate, and it does for two of four parameters: mutationId is explained as a new UUID and expectedDocuments as the inspected revisions for exactly the affected documents. The commands array's three command variants (SET_PROJECT_TITLE, SET_PROJECT_DESCRIPTION, RENAME_ARTIFACT) are only gestured at via 'presentation or rename,' so an agent still needs the schema to learn the accepted command types.

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 ('Edit project presentation or rename a specific artifact') and immediately delimits scope with 'This changes folder/item metadata, not video content,' which cleanly separates it from edit_video and edit_workflow. An agent can distinguish this tool from its siblings without opening the schema.

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?

Gives clear context: use it for metadata/presentation edits and artifact renames, not for sharing/invitations, and gives an explicit recovery route via get_project_edit when a result is uncertain. It stops short of naming edit_video explicitly as the alternative for content changes, relying on the negative statement 'not video content' instead.

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.