Skip to main content
Glama

check_prerequisites

Confirm which cloud account your credentials reach, the current controller version, and default network before planning a deployment.

Instructions

Read-only check before planning a deployment: which cloud account the user's credentials reach, the newest controller version and the default network. cloud is "aws" or "gcp". region is the cloud's own name for it, such as us-west-2 (AWS) or us-west1 (Google Cloud). cloud_account is optional: an AWS profile name, or a Google Cloud project id.

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

Input Schema

NameRequiredDescriptionDefault
cloudYes
regionNo
cloud_accountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4/5.0
Behavior3/5

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

No annotations exist, so the description carries the whole burden. It does disclose that the operation is read-only and what information the check surfaces, but it says nothing about failure behavior when credentials reach no account, required permissions, or latency/cost of the version lookup.

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-loads purpose before parameter detail, and each sentence adds information. The prose is a dense run-on paragraph rather than structurally broken out per parameter, but nothing is wasted.

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?

There is no output schema, and the description covers this well enough by naming the three pieces of information returned. What remains thin is the mutation-free contract under error conditions, but for a read-only three-parameter check this is close to sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description fully compensates: it enumerates the values for `cloud` ('aws' or 'gcp'), explains that `region` uses the cloud provider's own naming with concrete examples per cloud, and clarifies that `cloud_account` is optional and means an AWS profile name or a GCP project id.

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?

Uses a specific verb+resource ('Read-only check') and goes further by naming the three concrete facts returned: the cloud account credentials reach, the newest controller version, and the default network. It is clearly distinct from generic siblings like health_check, though it never explicitly names an alternative for differentiation.

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?

Gives a clear when-to-use context: 'before planning a deployment.' It does not state when-not to use it or point to a sibling such as check_access when only credential reachability is wanted, so the guidance is contextual but not exclusionary.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.