Skip to main content
Glama
iainmck29

devin-mcp

by iainmck29

devin_run_phase

Creates a new Devin session using a prompt and optional playbook ID to delegate implementation tasks and receive a session ID and URL for tracking progress.

Instructions

Create a new Devin session with a playbook and prompt.

Args: prompt: The task prompt (e.g., "thoughts/shared/plans/2024-01-15-auth.md, phase 1, branch feature/auth") playbook_id: The Devin playbook ID to use. Optional if DEVIN_PLAYBOOK_ID env var is set.

Returns: dict with keys: - success: bool indicating if session was created - session_id: The created session ID (if success) - url: The session URL (if success) - error: Error message (if not success)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYes
playbook_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description carries the behavioral burden. It does document the return format (success, session_id, url, error keys), which is helpful. However, it doesn't disclose side effects, auth requirements, rate limits, or what happens on partial failure. The return format disclosure is useful but incomplete for a session-spawning external tool.

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?

The description is well-organized with Args/Returns sections, making it scannable. Every sentence adds information. It's somewhat longer than the minimum, but the return-key documentation and parameter examples justify the length. Formatting is clean and front-loaded with the core purpose.

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

Completeness3/5

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

The tool has an output schema, which offloads some completeness burden. With only 2 parameters (one optional) and a clear purpose, the description is reasonably complete. However, given it spawns external sessions, missing context about session lifecycle, expected duration, or relationship to devin_await_completion could confuse an agent about the asynchronous nature of the created session.

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 0%, so the schema itself provides minimal help. The description compensates partially by explaining the prompt parameter with a concrete example and clarifying that playbook_id is optional if the env var is set. This adds real meaning beyond the schema, but there's no documentation of the playbook_id parameter's format or how to find valid IDs.

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 states the tool creates a new Devin session with a playbook and prompt. It uses a specific verb+resource construction and the context makes the purpose distinct from siblings (get_status, await_completion, send_message). However, it doesn't explicitly differentiate itself from sibling create-like tools, though none of the siblings appear to create sessions.

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

Usage Guidelines3/5

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

The description implies usage context (starting a new session), and the example prompt provides a meaningful usage template. However, it doesn't explicitly state when to use this tool versus alternatives, nor mention exclusions or prerequisites (like needing DEVIN_PLAYBOOK_ID or an existing plan document).

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/iainmck29/devin-mcp'

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