Skip to main content
Glama
ry-ops

fortigate-mcp-server

by ry-ops

set_dns_server

Configure DNS service on a FortiGate interface, choosing recursive, non-recursive, or forward-only mode to resolve local zones or forward queries.

Instructions

Serve DNS on an interface. Modes: recursive (local zones first, then forward to the system resolvers), non-recursive (local zones only), forward-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNorecursive, non-recursive or forward-only
vdomNoVDOM (default: FORTIGATE_VDOM, usually root)
interfaceYesInterface, e.g. port2

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A3.6/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 behavioral burden. It usefully explains how each mode resolves DNS queries, but it omits whether the tool mutates configuration, what permissions are required, and how existing DNS settings are affected.

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 two compact sentences with no filler. The purpose is front-loaded, and the mode semantics follow immediately.

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?

With no annotations and no output schema, the description should carry more operational context. It covers the purpose and mode behavior adequately, but leaves mutation status, required permissions, prerequisites, and sibling differentiation unstated.

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 description coverage is 100%, so the baseline is 3. The description adds real meaning for the mode parameter by explaining recursive, non-recursive, and forward-only behavior beyond the schema's bare value list.

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?

The description states a specific action and resource: 'Serve DNS on an interface', and it lists the available modes. It does not explicitly distinguish this tool from siblings such as get_dns_settings or list_dns_servers, so it falls short of a 5.

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?

There is no explicit guidance on when to use this tool versus alternatives. The modes imply a configuration use case, but the agent must infer when to select this over get_dns_settings, list_dns_servers, or delete_dns_server.

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