Skip to main content
Glama

Pi Agents

pi
Destructive

Start persistent agent pools, send tasks, wait for results, and manage checkpoints across Git workspaces.

Instructions

Unified persistent pi agent interface. For action=start, ALWAYS pass the explicit Git repository root from the user's request; MCP reconnects can reset implicit workspace selection. Start once, then send many tasks to stable h5i boxes and conversation sessions. Pools survive MCP requests and route back to their bound workspace by id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoPool name for action=start.
poolNoPool id. Required except for action=start.
rootNoExplicit Git repository root. Required for action=start so a reconnect cannot bind the pool to the default workspace.
taskNoPending task id for action=wait.
agentNoAgent id; send uses round-robin when omitted.
forceNo
actionYes
agentsNo
messageNoTask or forum message.
wait_secondsNoWait in the same call. Default: 60.
workspace_idNoOptional opened workspace id; root remains required for action=start.
advance_baselineNo
Behavior4/5

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

The description discloses persistence across MCP requests, pool-to-workspace binding by id, and the reconnect reset risk, all of which go beyond the annotations. DestructiveHint=true is already declared, so the description does not need to fully enumerate destructive side effects, but it could still add more detail about stop/checkpoint behavior.

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 four dense sentences with no filler. The most safety-critical instruction about explicit root and reconnect behavior is front-loaded, and the pool persistence model is conveyed efficiently.

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

Completeness2/5

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

With seven actions, 12 parameters, and no output schema, the description only meaningfully contextualizes start and the persistence model. Actions like checkpoint, status, messages, stop, and advance_baseline are left mostly to inference, making the definition incomplete for such a complex tool.

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?

The schema already documents several parameters such as root, pool, task, agent, message, wait_seconds, and workspace_id. The description adds critical meaning around root and workspace binding, but for a 12-parameter multi-action tool it does not compensate for the many action-specific parameters that remain unexplained.

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 clearly identifies a persistent agent interface and explains the core workflow: start once, then send many tasks. It is not a tautology and provides meaningful detail beyond the title, though it does not enumerate the seven action modes explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

It gives explicit operational guidance: ALWAYS pass the Git repository root for action=start, and explains why MCP reconnects can reset implicit workspace selection. It does not mention alternatives, but no sibling tool directly overlaps, so the usage context is clear.

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/kaiserproger/agent-loom'

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