Skip to main content
Glama

Read while's catalog

get_catalog
Read-onlyIdempotent

What while can run, block by block: what it does, its cost, the while.yaml line that declares it.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_catalog"
  }
}

Input Schema

NameRequiredDescriptionDefault
blockNoformat detail: a single building block, by its id (postgres, valkey…).
trialNoThe key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call.
formatNotext: the contract and the blocks; detail: one block (block); guide: designing an app; dockerfile: a typical Dockerfile (language); json: the summary.text
languageNoformat dockerfile: the typical Dockerfile for this language; without it: the list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / trial / description
      Previous value: -"The key returned by the first deploy_app (trial_key), passed again on each call."New value: +"The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call."
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. With no output schema, the description does add real value by stating what each catalog entry contains (behavior, cost, yaml declaration line). However it says nothing about the trial parameter's role, which is unusual for a pure read tool and is the one behavior an agent could get wrong.

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?

A single dense sentence with zero filler: the resource is front-loaded and the three payload fields follow as a colon list. It is slightly telegraphic ('while', 'block by block') for a reader unfamiliar with the product's terminology, but nothing is redundant.

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 parameterless, read-only, closed-world lookup whose annotations and schema are fully specified, the description covers the main gap — what comes back in each catalog entry. The remaining omission is the trial parameter's purpose and whether it is required in practice, which the description leaves entirely to 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%, so all four parameters including two enums are already documented in structured fields; baseline is 3. The phrase 'block by block' loosely echoes the block parameter and 'the while.yaml line' hints at the detail format, but no format mode, default, or trial-key semantics are clarified 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 the resource concretely (a catalog of building blocks 'while' can run) and enumerates the fields each entry carries — description, cost, and the declaring while.yaml line. A fragment rather than a verb phrase, but the agent can tell this is a read of the block catalog and not, say, app state or logs. It never explicitly distinguishes itself from siblings such as get_app_status or read_source, so it stops 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 Guidelines2/5

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

There is no when-to-use guidance at all: nothing about consulting the catalog before plan_deploy or deploy_app, no prerequisites, no statement of when another sibling is the better call. The only routing information (text/detail/guide/dockerfile/json) lives in the schema's format enum, not in the description.

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