Skip to main content
Glama

list_modal_containers

List all currently running Modal containers. Optionally filter by app ID or environment to view containers for a specific app.

Instructions

List all Modal containers that are currently running (`modal container list`).

Args:
    app_id: Optional app ID to only list containers for that app.
    env: Optional Modal environment to target.

Returns:
    A dictionary containing the parsed JSON list of containers (IDs like "ta-...").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
app_idNo
envNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It correctly implies a read-only list operation by describing it as listing running containers, but does not explicitly state it has no side effects or note any behavioral traits beyond the obvious.

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?

The description is concise with three clear sections: what the tool does, parameters, and return value. Every sentence is necessary and adds value without redundancy.

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?

With 2 optional parameters and an output schema noted, the description adequately covers the tool's functionality. It explains the return format and container ID pattern. Minor omission: no mention of pagination or limits for large result sets.

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 description adds meaningful context to both parameters beyond the schema's titles. It explains the purpose of app_id (filter by app) and env (target environment). Given 0% schema description coverage, this provides essential clarity.

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?

The description clearly states the tool lists all currently running Modal containers, using the verb 'list' and specifying the resource 'Modal containers'. It distinguishes from sibling tools like list_modal_apps and list_modal_environments by targeting containers specifically.

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?

No explicit guidance on when or when not to use this tool. While optional args like app_id and env are described, there is no mention of alternatives or conditions that would make another tool more suitable.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/george-bobby/mcp-modal'

If you have feedback or need assistance with the MCP directory API, please join our Discord server