Skip to main content
Glama

OpenFactory

connect_cloud_provider

Connect a cloud account. Credentials are encrypted at rest, validated live against the provider, and (for the default connection per provider) projected into your account env so deployed apps can use the cloud directly. Returns the masked connection plus the validation result.

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": {
      "provider": "<provider>",
      "name": "<name>",
      "credentials": "<credentials>"
    },
    "name": "connect_cloud_provider"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesDisplay name, e.g. 'Production AWS'.
regionNoDefault region, e.g. 'us-east-1', 'europe-west1', 'eastus'.
api_keyNoMCP API key
providerYesCloud provider: 'aws', 'gcp', or 'azure'.
credentialsYesProvider credentials. aws: {access_key_id, secret_access_key, session_token?}. gcp: {service_account_json} (the key-file JSON, as object or string). azure: {tenant_id, client_id, client_secret, subscription_id}.
session_tokenNoSession token

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does real work: it discloses at-rest encryption, a live validation call against the provider (implying latency and possible failure), and a side effect — the default connection is projected into the account env for deployed apps. It omits idempotency, behavior on duplicate names, and whether the env projection overwrites existing values, which keeps it short of a 5.

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?

Two sentences, front-loaded with purpose, then behavior and return value in the order an agent needs them. Every clause adds information — encryption, live validation, env projection, masking — with no 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?

For a 6-parameter mutation with nested credential objects, the definition covers the safety-relevant behavior and the return shape, and an output schema exists so return details needn't be restated. It stops short of permission requirements, duplicate-connect behavior, and reversibility of the env projection, which matter for a write tool with no annotations.

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 the parameters (provider values, per-provider credential shapes, region examples) are already fully documented in the schema, and the baseline of 3 applies. The description adds only the notion of a 'default connection per provider', which implies a distinction the schema does not encode, but gives no detail on how that default is chosen.

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?

Opens with a specific verb and resource, 'Connect a cloud account', which cleanly separates it from sibling operations such as test_cloud_provider, disconnect_cloud_provider, and list_cloud_providers. It does not name an alternative explicitly, so it lands at clear-but-not-differentiated rather than 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 only implied: the agent can infer 'use this to establish a cloud connection', but the description never states prerequisites (API credentials, org permissions) or when to prefer test_cloud_provider first. No when-not guidance is given, so this is minimum viable.

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.