Skip to main content
Glama
Scalekit MCP Server

Scalekit MCP Server

Official

list_environments

Read-onlyIdempotent

Retrieve current workspace environments one page at a time to find environment IDs for further Scalekit operations.

Instructions

List environments in the current workspace, one page at a time. Use this to discover environment ids. Use get_environment_details when you already have an id. Requires the caller OAuth token.

Input Schema

NameRequiredDescriptionDefault
pageSizeNoMaximum environments to return. Default 20. Maximum 100.
pageTokenNo1-based page number (1, 2, 3...). Defaults to first page if not provided.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.1
    • addedInput schema / properties / pageSize / description
      Added value: +"Maximum environments to return. Default 20. Maximum 100."
  2. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior. The description adds two useful facts beyond that: results are paginated ('one page at a time') and the call requires the caller's OAuth token. It stops short of describing ordering or return shape, but that is a minor gap.

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?

Four short sentences, each earning its place: what it does, the discovery use case, the sibling alternative, and the auth prerequisite. Purpose is front-loaded with zero 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 read-only list tool with full annotation coverage, complete parameter docs, and no output schema, the description covers purpose, usage routing, pagination, and auth. It is essentially complete; only environment field contents are unmentioned, which is acceptable given no output 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 coverage is 100%, so pageSize and pageToken are already fully documented in the schema. The description only reinforces pagination ('one page at a time') without adding format or semantics beyond what the schema states. Baseline 3 is appropriate when the schema carries the parameter burden.

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 (list) and resource (environments) scoped to the current workspace, and explicitly distinguishes itself from get_environment_details. An agent can differentiate it from its siblings 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 Guidelines5/5

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

Gives explicit when-to-use guidance ('discover environment ids') and names the alternative with its selecting condition ('use get_environment_details when you already have an id'). The boundary between discovery and detail-lookup is unambiguous.

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