Skip to main content
Glama
Deraiven
by Deraiven

zadig_environment_service_apply

Add or update a service in a Zadig environment. Preview changes with dry-run and confirm to apply.

Instructions

Add or update one service in a Zadig environment. Defaults to dry_run=true and requires confirm=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoauto
confirmNo
dry_runNo
serviceYes
env_nameYes
productionNo
project_keyNo
allow_redactedNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations available, the description carries the transparency burden. It clearly discloses that dry_run defaults to true and that confirm=true is required, which is critical guardrail information for a mutating apply operation. It does not detail side effects or what happens on confirmation, but the main behavioral traits are surfaced.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single front-loaded sentence that states the core function first and then flags the two most important invocation constraints. Every word earns its place and there is no filler.

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

Completeness2/5

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

For a tool with 8 parameters and a nested service object, this description is too sparse to be fully actionable. It gives the key safety defaults, but an agent still cannot reliably construct the required service payload or understand mode, production, project_key, or allow_redacted without additional external knowledge.

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

Parameters2/5

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

Schema description coverage is 0%, so the description needs to compensate. It adds meaning for dry_run and confirm, but ignores the other six parameters: env_name, service, mode, production, project_key, and allow_redacted. The nested service object, in particular, is left entirely unexplained.

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 states a specific action ('Add or update one service') and a clear resource ('service in a Zadig environment'). This distinguishes it from sibling tools like zadig_environment_apply, which targets environments, and zadig_environment_service_delete/get/list, which handle other service operations.

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

Usage Guidelines2/5

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

The description gives operational constraints ('Defaults to dry_run=true and requires confirm=true') but provides no guidance on when to choose this tool over alternatives such as zadig_environment_apply or zadig_environment_service_update. No exclusions or decision criteria are given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.