Skip to main content
Glama

Update a project

update_project

Changes a project's details. The change fails if someone changed the project after the caller read it.

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": {
      "expected_version": "<expected_version>",
      "project_id": "<project_id>"
    },
    "name": "update_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
project_idYes
expected_versionYes
monthly_spend_cap_centsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds a genuinely non-obvious behavioral trait that annotations cannot express: the write is guarded by optimistic concurrency and fails if the project was modified after the caller read it. It still omits whether the update is partial or full-replacement, and what a caller must do after a conflict.

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?

Two short sentences with no filler, and the core action is front-loaded before the failure condition. The phrasing 'after the caller read it' is slightly indirect given that the tool takes an explicit expected_version rather than a read handle.

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?

This is a four-parameter mutation tool with no output schema and zero schema description coverage, so the description carries most of the explanatory load. It covers the purpose and the conflict behavior but leaves out which fields are updatable, whether omitted fields are preserved, permission requirements, and what the response contains.

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 0%, so the description must carry the burden, yet it names no parameters. The phrase 'after the caller read it' loosely gestures at expected_version without explaining that it is a required concurrency token, and it says nothing about project_id, the name length constraint, or the meaning and bounds of monthly_spend_cap_cents.

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 and resource: 'Changes a project's details.' An agent immediately knows this is a mutation on a project. It does not distinguish itself from siblings such as create_project, get_project, or update_capacity_schedule, and it never says which fields of the project are changed.

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 guidance about when to use this tool versus alternatives like create_project or get_project, and no mention of prerequisites such as permissions or a prior read. The only conditional statement describes a failure mode rather than when-to-use criteria.

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.