Skip to main content
Glama
OctopusDeploy

Octopus Deploy MCP Server

Official

Get deployment details from an Octopus Deploy URL

get_deployment_from_url
Read-onlyIdempotent

Retrieves deployment details and task ID from an Octopus Deploy URL, enabling log analysis and issue investigation via structured activity trees or grep-based log search.

Instructions

Get deployment details from an Octopus Deploy deployment URL. Returns comprehensive deployment information including the task ID needed to view execution logs.

Accepts deployment URLs like: https://your-octopus.com/app#/Spaces-1/projects/my-app/deployments/releases/1.0.0/deployments/Deployments-123

Returns:

  • Full deployment details (environment, release, project, created time)

  • taskIdForLogs: the ServerTasks- ID for this deployment

  • taskResourceUri: octopus:// URI for the structured activity tree (resources/read or read_resource)

  • grepTaskLogHint: pre-filled arguments for the grep_task_log tool — call it with a pattern to search the raw log without fetching the whole thing

  • Public URL for web portal access

Recommended workflow for investigating deployment issues:

  1. Call get_deployment_from_url with the deployment URL

  2. Review deployment context (environment, release version, etc.) 3a. Fetch the taskResourceUri for the structured activity tree (step timings, embedded log entries by category), OR 3b. Call grep_task_log with the taskId to search the raw log for a specific error / pattern

Handles space ID to space name resolution automatically.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesFull Octopus Deploy deployment URL (e.g., https://your-octopus.com/app#/Spaces-1/projects/my-app/deployments/releases/1.0.0/deployments/Deployments-123)
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true. The description adds substantial behavioral context: it returns taskIdForLogs, taskResourceUri, grepTaskLogHint, public URL, and mentions automatic space resolution. No annotation contradiction.

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?

Description is well-structured with a clear opening, example, return list, and workflow. It is longer than strictly necessary but every sentence adds value (purpose, usage, behavior). Could be slightly more concise, but overall efficient.

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?

Given no output schema, the description covers return fields and integration with sibling tools. It also mentions automatic space resolution. Missing details on error handling, but for a read-only tool, it is sufficiently complete for the intended workflow.

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 has 1 parameter (url) with 100% coverage. Description adds a concrete example URL and explains the structure of the URL, which goes beyond the schema's minimal description. This helps the agent construct valid inputs.

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?

Description clearly states 'Get deployment details from an Octopus Deploy deployment URL' with specific verb and resource. It distinguishes itself from sibling tools like get_task_from_url and grep_task_log by linking the deployment URL to task IDs and logs, and provides a recommended workflow that differentiates its role.

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?

Description provides a clear 'Recommended workflow' with steps on when to use this tool and how to follow up with grep_task_log or read_resource. It does not explicitly state when not to use it, but the context is strong enough for an agent to make decisions.

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