Skip to main content
Glama

Leave project

leave_project
Destructive

Leave a project you were invited to. Owners cannot leave — transfer or stay. Revokes your project keys. Use remove_project_member if you are the owner removing someone else.

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": "leave_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesHosting project UUID from create_project or list_projects.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / project_id / description
      Added value: +"Hosting project UUID from create_project or list_projects."
  2. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, and the description adds meaningful behavioral detail beyond that by revealing that the action 'Revokes your project keys' and that owners cannot perform this action. This gives the agent useful context about side effects and eligibility without contradicting the annotations.

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?

Three short sentences deliver the core action, an important restriction, a side-effect warning, and routing to an alternative. There is no filler, and the most important scoping information is front-loaded.

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?

For a single-parameter mutation tool with destructiveHint=true, the description fully covers who can use it, what happens, what cannot happen, and which sibling should be used instead. The absence of an output schema is not a gap here because the behavioral notes are sufficient for correct invocation.

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 100% and the parameter has its own description, but the tool description adds semantic value by specifying that the project_id must refer to a project the user was invited to. That narrows the acceptable values beyond the schema's generic 'from create_project or list_projects' guidance.

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 a specific action: leaving a project the user was invited to, and explicitly scopes it with 'Owners cannot leave'. It differentiates from the sibling tool remove_project_member by naming it directly as the alternative for owner-removing-someone-else scenarios.

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 explicitly states when this tool is appropriate ('a project you were invited to') and when it is not ('Owners cannot leave'). It also names the alternative tool, remove_project_member, and the exact condition that should trigger that alternative.

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.