Skip to main content
Glama
imprezahost

Impreza Host MCP Server

impreza_git_webhook_connect

Connect a push webhook to your deployment so every push to the tracked branch triggers a redeploy. Supports GitHub one-click with PAT or manual setup for any provider.

Instructions

Wire up auto-deploy: connect a push webhook so every push to the deployment's tracked branch triggers a redeploy. Works with ANY provider against one per-deployment secret. Two modes: (1) GitHub one-click — pass github_pat (a Fine-grained PAT with Repository → Webhooks: read and write, generate at https://github.com/settings/personal-access-tokens/new) and Impreza installs the hook for you, then discards the token (never stored). (2) Manual/generic — OMIT github_pat (GitLab, Bitbucket, Gitea, self-hosted, CI): the response returns payload_url + webhook_token (shown once) to add in your provider, sending the token as the GitLab "Secret token" or the X-Impreza-Token header / ?token= query param. Only works on custom deployments created with mode=dockerfile and a git_url source. Refuses if already connected (call disconnect first to re-wire).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
github_patNoOptional. GitHub Fine-grained PAT (Repository → Webhooks read+write) for the one-click GitHub flow. Omit for the manual/generic flow (GitLab, Bitbucket, Gitea, self-hosted, CI) — the response then returns a payload_url + webhook_token to add yourself.
deployment_idYesThe dpl_... id of a custom deployment with mode=dockerfile + git_url.
Behavior5/5

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

No annotations provided, so the description carries full burden. Discloses key behaviors: token is discarded after use ('never stored'), refusal if already connected, and for manual mode the response returns a one-time webhook token. Also specifies the exact conditions for success (custom deployment with specific attributes).

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 longer than ideal but every sentence contributes meaningful information. It is well-structured with clear sections for the two modes, prerequisites, and error conditions. A minor reduction in verbosity might improve conciseness, but the current structure is highly 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?

Given the complexity of two modes, provider-specific instructions, prerequisites, and error handling, the description is remarkably complete. It covers what the tool does, how to use each mode, what to expect from the response, and when to use an alternative tool. No output schema exists, so the description compensates by detailing the response content.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% (both parameters have descriptions), but the description adds significant value: explains the optional github_pat for GitHub one-click flow, provides a link for PAT generation, and clarifies that omitting it triggers the manual/generic flow. Also reiterates the deployment_id requirement with specific format and constraints.

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 the tool's purpose: 'Wire up auto-deploy: connect a push webhook so every push to the deployment's tracked branch triggers a redeploy.' It specifies the verb (connect) and resource (deployment's webhook), and distinguishes from siblings like impreza_git_webhook_disconnect and impreza_git_webhook_status.

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?

Provides explicit when-to-use guidance: 'Works with ANY provider against one per-deployment secret.' Elaborates on two modes (GitHub one-click vs manual/generic) with clear prerequisites: 'Only works on custom deployments created with mode=dockerfile and a git_url source. Refuses if already connected (call disconnect first to re-wire).' This includes when-not-to-use and mentions the alternative tool (impreza_git_webhook_disconnect).

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/imprezahost/impreza-mcp'

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