Skip to main content
Glama
AdGuard DNS API MCP Server

AdGuard DNS API MCP Server

by Ankur1911

getAccountLimits

Read-onlyIdempotent

Retrieve account limits to check current usage and maximum values before creating or updating DNS resources.

Instructions

Gets account limits

Returns account limits for the current account. Use this endpoint to read current usage and maximum values before creating or updating resources.

Calls GET /oapi/v1/account/limits.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "getAccountLimits"
  }
}

Input Schema

NameRequiredDescriptionDefault
X_Account_IdNoOptional ID of the account to operate on. Defaults to the authenticated user's own account. Use GET /oapi/v1/accounts to list available accounts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so the safety profile is covered. The description usefully adds that the payload contains current usage plus maximum values and that it targets the authenticated account's endpoint, but it says nothing about response shape, caching/freshness of limit values, or failure behavior when an account ID is invalid. With annotations carrying the safety burden, this is an adequate but modest addition.

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

Conciseness3/5

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

The useful content (usage context and endpoint path) is present, but the opening two sentences say the same thing twice, so roughly a third of the text is redundant for a one-parameter read tool. It is front-loaded and readable, just not maximally economical.

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

Completeness4/5

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

For a simple, single-optional-parameter read tool with full annotation coverage and full schema coverage, the definition supplies purpose, usage timing, and the underlying path. The only meaningful gap is what the returned limit fields look like, which is a minor omission given no output schema exists and the concept (usage and maximum values) is described.

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

Parameters3/5

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

Schema description coverage is 100% and the single optional X_Account_Id parameter is fully documented in the schema, including its default and the endpoint for listing accounts. The description adds no parameter-level meaning (e.g. whether limits differ per account or what happens on an unauthorized account ID), so the baseline 3 applies.

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 names a specific verb and resource ("Gets account limits" / "Returns account limits for the current account"), and the closing line identifies the underlying endpoint GET /oapi/v1/account/limits. It loses a point because the first two sentences restate the same fact without adding scope, and there is no explicit differentiation from sibling tools (though the siblings shown, e.g. getDevice/getDnsServers, are unrelated resources).

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

Usage Guidelines4/5

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

"Use this endpoint to read current usage and maximum values before creating or updating resources" gives a concrete moment to call it, which is genuine when-to-use guidance rather than implication. It stops short of stating exclusions or naming an alternative endpoint for account listing or quota mutation, so it is clear context without full routing guidance.

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