Skip to main content
Glama
nks1097

Zabbix MCP Server Universal

by nks1097

zabbix_associar_templates_host

Associates compatible templates with a Zabbix host while retaining existing templates, enabling monitoring coverage to expand without replacing current assignments.

Instructions

  1. Associar templates compatíveis ao host mantendo os existentes.

Input Schema

NameRequiredDescriptionDefault
hostidYes
templates_idsYes

Output Schema

NameRequiredDescriptionDefault
erroNoDescrição detalhada do erro caso sucesso seja false
dadosNoPayload estruturado retornado pela operação
avisosNoLista de avisos, recomendações ou pendências
sucessoYesIndica se a operação foi bem-sucedida
metadadosNoMetadados operacionais da execução
id_requisicaoNoIdentificador único da requisição para rastreabilidade

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden. It does add one genuinely useful behavioral fact — 'mantendo os existentes' clarifies the operation is additive (merge) rather than a replace — but says nothing about permissions/auth, whether incompatible templates cause a partial or atomic failure, or whether linked items are immediately activated.

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?

One short, front-loaded sentence with no padding; the additive constraint sits immediately after the action. The only defect is the stray '18.' ordinal prefix, which is document-navigation noise that leaks into the tool contract.

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

Completeness3/5

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

An output schema exists, so return values need not be explained. But for a mutation tool with zero annotations, the description leaves out what 'compatíveis' actually checks, whether the call fails wholesale on an incompatible template, and what ID format the parameters take — gaps that matter for correct invocation.

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% and neither parameter is documented: the description does not clarify that 'hostid' expects a Zabbix host ID (vs. host name) or that 'templates_ids' is an array of template IDs, nor whether an empty array is legal. Given that 'compatíveis' hints at a validation step, guidance on ID format was needed here and is absent.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (associate templates to a host) and adds the key qualifier 'compatíveis', which is meaningful. The verb 'associar' naturally separates it from sibling zabbix_desassociar_templates_host, but the description never names that sibling or zabbix_recomendar_templates, so differentiation is implicit rather than explicit.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the step after recommending templates, and that it should be used instead of desassociar when adding. There is no explicit when-to-use statement, no prerequisites (does the host need to exist? must templates be pre-validated?), and no listed exclusion against siblings like zabbix_atualizar_host.

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

Deploy Server

Other Tools