drone_decline_build

Decline one gated build in Drone.

Server Drone CI MCP Server leuzeus/mcp-drone-ci
Category Execute
Risk class High
Parameters 00 required

What drone_decline_build does on Drone CI MCP Server

AI agents invoke drone_decline_build to trigger actions in Drone CI MCP Server. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call — builds kicked off, notifications sent, workflows started.

Why drone_decline_build needs a policy

The tool executes a CI/CD pipeline control action (declining a gated build approval) rather than merely reading data. While it doesn't delete data (Destructive) or involve financial transactions (Financial), it actively triggers a state-changing operation in an external system (Drone CI). This fits Execute—it runs an operation whose consequences depend on the argument provided (the build identifier).

From the tool's definition Tool name 'drone_decline_build' and description 'Decline one gated build in Drone' indicate the tool triggers an action that modifies CI/CD pipeline state by rejecting a build gate approval.

Questions about drone_decline_build

What does the drone_decline_build tool do? +

Decline one gated build in Drone. It is categorised as a Execute tool in the Drone CI MCP Server MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.

How do I enforce a policy on drone_decline_build? +

Register the Drone CI MCP Server MCP server in PolicyLayer and add a rule for drone_decline_build: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Drone CI MCP Server. Nothing to install.

What risk level is drone_decline_build? +

drone_decline_build is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.

Can I rate-limit drone_decline_build? +

Yes. Add a rate_limit block to the drone_decline_build rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block drone_decline_build completely? +

Set action: deny in the PolicyLayer policy for drone_decline_build. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides drone_decline_build? +

drone_decline_build is provided by the Drone CI MCP Server MCP server (leuzeus/mcp-drone-ci). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.