Skip to main content
Glama

Did the cloud setup finish

check_cloud_account
Read-onlyIdempotent

Where a project's latest cloud account setup stands: none, waiting for the line to run, expired, pending (the line ran and the cloud is still accepting CodeGene's sign-in, which can take minutes), connected, or failed, with what to do next. A pending setup is checked again by this call.

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

Input Schema

NameRequiredDescriptionDefault
cloudYesWhich cloud: aws, azure or google_cloud.
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

A3.7/5.0
Behavior4/5

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

The annotations already establish this as a read-only, idempotent, closed-world call, so the safety profile is covered. The description adds genuinely non-obvious behavior: that a pending result is re-polled by this call, and that pending legitimately spans minutes while the cloud accepts sign-in — saving the agent from misreading a slow setup as a failure.

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?

One front-loaded sentence that names the resource first and then the possible states; the enumeration is long but every value earns its place since there is no output schema. Minor density cost from the parenthetical explanation of 'pending', which is nonetheless the most useful clause.

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 correctly compensates by enumerating the returnable states and flagging the re-poll behavior. It stops short of describing the 'what to do next' payload's shape or how long an expired/failed state persists, which would fully close the loop for a status tool.

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%, with per-parameter descriptions and an enum on cloud, so the schema carries the parameter burden. The description only indirectly reinforces project scoping ('a project's latest cloud account setup') and says nothing about the optional workspace_id or the cloud enum values beyond the schema.

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 resource — a project's latest cloud account setup — and enumerates the exact states it reports (none, waiting, expired, pending, connected, failed), so the agent knows precisely what comes back. It does not explicitly differentiate itself from plausible siblings like check_connection_setup or connect_cloud_account, which keeps it short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: 'A pending setup is checked again by this call' tells the agent this is the polling call to repeat while a setup is in flight, and 'with what to do next' hints at follow-up actions. There is no explicit when-not or named alternative for cases where the agent wants to start a setup rather than inspect one.

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