Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NEXTDNS_API_KEYNoYour NextDNS API key
NEXTDNS_READ_ONLYNoSet to 'true' to enable read-only mode
NEXTDNS_API_KEY_FILENoPath to a file containing the API key
NEXTDNS_TEST_PROFILENoProfile ID for write operation tests
NEXTDNS_DEFAULT_PROFILENoOptional default profile ID
NEXTDNS_READABLE_PROFILESNoComma-separated list of readable profiles
NEXTDNS_WRITABLE_PROFILESNoComma-separated list of writable profiles

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

NextDNS MCP server

This server exposes the NextDNS API as one tool per endpoint. A tool is named for the API operation it performs (getAllowlist, addToDenylist, getAnalyticsDevices) and takes that endpoint's own arguments: profile_id plus the path, query and body fields the endpoint documents. The name says what the call does, so there is no operation to choose.

  • Composite visual tools (overviewDashboard, plotAnalytics) render interactive charts, tables, and dashboards directly in the client interface; dohLookup resolves a name through a profile's DNS-over-HTTPS resolver.

  • A failed call returns a JSON payload with an error code, plus a hint whenever the server can say what to send instead.

  • This server does not advertise tool names. search_tools matches the words of a task to the tools that fit it and returns their exact names and schemas; call_tool runs one of those by that exact name.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "subscribe": false,
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_toolsA

Search this server's tools with the words of the task.

Takes one argument object, {"query": ""}. The answer is an array of the matching tools in rank order, each an object with its exact name, its description, and its full input schema. A name that search_tools did not return, and that the server's instructions do not list, is not a tool of this server.

call_toolA

Run one of this server's tools by the exact name returned by search_tools.

Takes exactly one argument object, {"name": "", "arguments": {<that tool's parameters>}}; the name and the arguments are not two separate inputs. name selects one tool: one search result's name field. If the search answer itself is passed instead - the array of results, or one result object - it resolves to the highest-ranked tool in it, because the answer is in rank order; a multi-result answer whose highest-ranked tool is a write is refused rather than executed, and the refusal names the candidates so the call can be re-sent with one name. Anything search_tools did not return is not a tool of this server. A failed call returns a JSON payload with an error code and, when available, a hint.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.3/5.0

Scored across 2 tools

Disambiguation5/5

search_tools and call_tool have clearly distinct purposes: discovery vs. execution. An agent can easily tell which one to use for a given step.

Naming Consistency5/5

Both names follow a consistent snake_case verb_noun pattern. The convention is predictable and readable.

Tool Count4/5

Two tools is below the typical 3-15 range, but it is exactly the minimal surface needed for a search-and-call gateway. Each tool earns its place with no bloat.

Completeness4/5

The pair covers discovery and execution of all underlying tools, which is the core lifecycle for this meta-server. Minor gaps include no explicit list-all operation and limited introspection outside search results.

Maintenance

ActivityNo data
ResponsivenessOutdated data