Skip to main content
Glama

List templates

list_templates
Read-only

List the sandbox templates (base images) with their default vCPUs and memory; the name can be passed as template when creating a sandbox or starting a background job. Call it only when the default 'base' (Debian with Python 3.12) is not enough. It does not show your existing sandboxes.

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": "list_templates"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
templatesYesAvailable templates.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered; the description adds the useful fact that results include default vCPU and memory figures and that existing sandboxes are excluded. It stops short of describing ordering or completeness of the returned list, but with an output schema present that gap is minor.

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 sentences, front-loaded with what the tool returns, then the usage gate, then the exclusion. Every clause earns its place — the 'base' image detail directly supports the when-to-call decision.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter, read-only list tool with an output schema and full annotation coverage, the description supplies everything an agent needs: what it lists, what each entry contains, the default it should compare against, and what it does not include. Nothing material is missing.

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

Parameters4/5

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

The tool takes zero parameters, so the baseline is 4; there is nothing to document locally. The description still adds cross-tool semantics by explaining that a returned name is what you pass as `template` to create_sandbox or run_job, which is meaning the schema cannot carry.

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 ("List the sandbox templates (base images)") plus what each entry carries (default vCPUs and memory), and explicitly disambiguates from list_sandboxes with "It does not show your existing sandboxes." An agent can distinguish this from the sibling list tools 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 an explicit gating condition — "Call it only when the default 'base' (Debian with Python 3.12) is not enough" — which tells the agent both when to call and when not to. It also explains the downstream use (pass the name as `template` when creating a sandbox or starting a background job), so the follow-up action is unambiguous.

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