Skip to main content
Glama

Upgrade a project to Team

upgrade_project_to_team
Destructive

Upgrade the explicit Free or Starter project to Team on an active workspace subscription. Requires full workspace billing permission and project access. First omit approvalId to preview the billing impact at the workspace billing interval. Show the quote and approvalUrl to the user, then wait for the user to approve that quote in Atomic Billing while signed in to the same Atomic account. After they confirm, call again with quote.approvalId and the same workspaceId and projectId. Applying may invoice and attempt payment immediately. If the quote expires or billing changed, request a new quote and a new approval. An already-Team project returns already_team without another charge.

Omit approvalId to preview. Show the user the quote and approvalUrl and wait for them to approve in Atomic Billing. Apply using the same workspaceId and projectId and quote.approvalId, then verify the project plan with get_project_setup_status.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "projectId": 12,
      "workspaceId": 4
    },
    "name": "upgrade_project_to_team"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextNoUser task for usage analytics. Omit private details.
llm_modelNoExact model ID from the calling runtime. Send on every call when known. Omit if unavailable.
projectIdYesExplicit target project ID from list_projects.
approvalIdNoQuote ID to apply after the user approves it in Atomic Billing. Omit to request a quote.
workspaceIdYesWorkspace ID from list_workspaces.

Output Schema

NameRequiredDescriptionDefault
dataNoApproval link and billing quote, or the Team plan assignment after application or when already on Team.
successYesTrue when the tool returns normally.
executionTimeNoElapsed time, e.g. 0.12s.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations flag the write/destructive/open-world profile, but the description goes well beyond: full workspace billing permission and project access required, applying may invoice and attempt payment immediately, quotes can expire, and already-Team projects return already_team with no charge. These are exactly the side effects and prerequisites an agent needs before acting.

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 first paragraph is well-structured and front-loads the critical constraints, but the second paragraph re-states the same preview-wait-apply flow almost verbatim, adding only the verification step. Roughly a third of the text is redundant, which dilutes the signal.

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?

Given an output schema, four annotations, and full parameter documentation, the description fills the remaining gaps: authorization prerequisites, billing side effects, quote lifecycle, idempotent-vs-expired handling, and a follow-up verification call. Nothing an agent needs to invoke this safely is missing.

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%, so the baseline is 3; the description adds genuine meaning by explaining approvalId's two-phase role (omit to quote, supply the approved quote ID to apply) and by insisting the same workspaceId and projectId accompany the quote. It does not mention the context or llm_model telemetry params, but those are already fully described in the schema.

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 (upgrade) and resource (project plan to Team) plus the preconditioning state: 'explicit Free or Starter project on an active workspace subscription'. Nothing in the sibling list competes with this operation, so the agent can identify it immediately.

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?

Gives an explicit two-phase protocol: omit approvalId to preview, show the quote and approvalUrl, wait for user approval in Atomic Billing, then re-call with quote.approvalId and the same IDs. It also names the recovery path (re-quote on expiry or changed billing) and the terminal no-op case (already_team), and points to get_project_setup_status for verification.

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