Skip to main content
Glama

Create environment variable

checkly_create_variable
Destructive

MODIFIES THE CHECKLY ACCOUNT: creates a new account-level environment variable. Additive (does not overwrite existing keys). Public API: POST /v1/variables.

Input Schema

NameRequiredDescriptionDefault
keyYesThe variable key (cannot be changed later).
valueYesThe variable value.
lockedNoHide the value like a password in the UI.
secretNoMark as secret — value becomes write-only after creation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

The annotation only gives destructiveHint=true, so the description carries real weight here and delivers: it flags account mutation, clarifies the operation is additive and will not clobber existing keys, and cites the underlying endpoint POST /v1/variables. It stops short of disclosing auth/permission requirements or whether key uniqueness is enforced at write time.

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?

Three short fragments with zero filler, and the consequential mutation warning is front-loaded in caps. Every clause — mutation, additivity, endpoint — carries information an agent cannot get from the annotations alone.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 leaves the return value entirely unspecified — an agent cannot tell whether the created variable (or its secret value) is echoed back. Auth scope and failure modes on duplicate keys are also unaddressed, though params are fully documented by the schema.

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%, covering key, value, locked and secret, so the schema does the heavy lifting. The description adds only the account-level scope framing and the additive/no-overwrite constraint, which marginally informs key semantics but adds no syntax or format detail.

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 and resource ('creates a new account-level environment variable') and scopes it precisely to the account level, which cleanly separates it from sibling list_variables and the unrelated create_maintenance_window. An agent can identify the operation without opening the schema.

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?

The 'Additive (does not overwrite existing keys)' note implicitly tells the agent this is the right call when onboarding a new key rather than changing an existing one, but there is no explicit when-to-use guidance and no named alternative (e.g. what to call to update an existing variable). Usage is inferable rather than stated.

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.