Skip to main content
Glama

Connect a cloud account

connect_cloud_account

Starts connecting the person's AWS account, Azure subscription or Google Cloud project to a project, with no key or password. Answers one line for the person to paste into their cloud's own browser shell (shellName, shellUrl, command), how long it works, what it grants, and the line that undoes it. Show the person the command exactly. CodeGene connects by itself once the line has run; check_cloud_account says when. Owners and admins of the project only.

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>",
      "cloud": "<cloud>"
    },
    "name": "connect_cloud_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
cloudYesWhich cloud: aws, azure or google_cloud.
bundlesNoWhat CodeGene may do in the account beyond signing in. Leave it out to connect with sign-in only; services added later ask for what they need.
project_idYesThe project (list_projects gives ids).
workspace_idNoWorkspace id from whoami; omit when there is one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Goes well past the annotations (non-read-only, non-destructive, closed-world) by explaining that the call is asynchronous and returns a single shell command with shellName, shellUrl and command, plus its lifetime, granted scope, and the undo line. It also discloses that the connection completes on its own after the line runs, which is behavior an agent cannot infer from the structured fields.

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?

Front-loaded and dense: purpose, then the returned command, then completion mechanics, then the permission gate. Sentences are long and the phrasing 'Answers one line for the person to paste' is slightly awkward, but no sentence is filler.

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 no output schema, the description usefully enumerates the return payload components and the async hand-off, which is the critical missing piece for an agent. Remaining gaps are small: no statement of what happens when the caller is not an owner/admin, and no guidance on surfacing shellUrl versus command to the user.

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%, so cloud, project_id, workspace_id and bundles are already documented in the schema, including the bundle id/values shape. The description adds only an indirect gloss on bundles ('what CodeGene may do in the account beyond signing in'), so the baseline 3 applies.

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 concrete verb and resource ('Starts connecting the person's AWS account, Azure subscription or Google Cloud project to a project') and immediately differentiates the flow by naming the follow-up tool, check_cloud_account, and by saying it works 'with no key or password'. An agent can tell this apart from connect_service or connect_domain without opening any 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?

The lifecycle use is clear: call this first, then poll with check_cloud_account once the command has run, and the caller restriction ('Owners and admins of the project only') is stated up front. There is no explicit when-not-to-use or what to do on a permission failure, which keeps it just short of a 5.

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