Skip to main content
Glama
OctopusDeploy

Octopus Deploy MCP Server

Official

Get task details from an Octopus Deploy URL

get_task_from_url
Read-onlyIdempotent

Retrieve full task details, execution logs, and state from an Octopus Deploy task URL.

Instructions

Get task details from an Octopus Deploy task URL. Returns full task details including execution logs and state.

This tool is a URL-to-ID resolver that returns the same body as the octopus://spaces/{spaceName}/tasks/{taskId}/details resource — no need to dereference the URI afterward. If you only need lightweight metadata for polling (state, timing, completion flags) use the smaller octopus://spaces/{spaceName}/tasks/{taskId} resource instead.

Accepts task URLs like: https://your-octopus.com/app#/Spaces-1/tasks/ServerTasks-456

Key features:

  • Returns full task details including execution logs

  • Handles space ID to space name resolution automatically

  • Validates task ID format

For deployment URLs: If you have a deployment URL, use this workflow:

  1. Call get_deployment_from_url with the deployment URL

  2. Use the returned taskResourceUri (structured tree) or call grep_task_log with the returned taskId to search the raw log

Tasks represent background operations in Octopus Deploy, such as deployments, health checks, and system maintenance. Each task has a unique ID and can be monitored for status and progress.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesFull Octopus Deploy task URL containing a task ID (e.g., https://your-octopus.com/app#/Spaces-1/tasks/ServerTasks-456)
Behavior5/5

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

Annotations already declare readOnly, non-destructive, idempotent. The description adds beyond these: returns full task details including execution logs, automatically resolves space IDs, validates task ID format, and notes that the response is the same as a specific resource. No contradictions.

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-structured with sections and bullet points, but somewhat lengthy. The first sentence is clear and front-loaded. Could be slightly more concise, but overall effective.

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?

Tool is simple with one parameter and clear annotations. The description explains what is returned (full details including logs and state) and how it integrates with other tools. No output schema needed as the response is described. Complete for its context.

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?

Schema description coverage is 100%, and the description provides additional context such as example URLs and explains that the URL contains a task ID. This enhances meaning beyond the schema.

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 it retrieves task details from an Octopus Deploy URL, acting as a URL-to-ID resolver. It distinguishes itself by specifying that it returns the same body as a specific resource, versus a lighter weight option for metadata only. This is a specific verb+resource combination that differentiates from siblings.

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?

Explicitly states when to use this tool versus the smaller resource for lightweight metadata. Provides a workflow for deployment URLs, directing to use get_deployment_from_url first and then grep_task_log. This gives clear context and alternatives.

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/OctopusDeploy/mcp-server'

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