Get query usage (billing)
ns1_get_billing_queriesBillable DNS query usage between two Unix timestamps. GET /billing-usage/v1/queries?from=&to=.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End, Unix seconds. | |
| from | Yes | Start, Unix seconds. |
ns1_get_billing_queriesBillable DNS query usage between two Unix timestamps. GET /billing-usage/v1/queries?from=&to=.
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End, Unix seconds. | |
| from | Yes | Start, Unix seconds. |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds the underlying REST path (GET /billing-usage/v1/queries), which confirms a direct read call, but says nothing about auth scope, rate limits, or result granularity — acceptable but not rich.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences, zero waste, with the core purpose and the time-window constraint front-loaded. The raw endpoint path is a minor redundancy but does not dilute the front-loaded structure.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
There is no output schema, so the description would ideally indicate what comes back (query counts, per-period breakdown) and whether results are aggregated. For a two-parameter, fully documented read call the definition is minimally adequate, but the return-value gap is a real omission.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% and both parameters (from/to, Unix seconds) are fully documented in the schema, so the baseline is 3. The phrase 'between two Unix timestamps' merely restates the schema's unit and range semantics rather than adding format or boundary details.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description names a specific verb+resource (billable DNS query usage) and its scope (between two Unix timestamps), which is enough for an agent to grasp the operation. However, it does not differentiate from the closely related sibling ns1_get_billing_records or ns1_get_usage_stats, leaving ambiguity about which billing/usage endpoint to pick.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is only implied by the subject matter: an agent can infer this is for billable query metering over a time window, but there is no explicit when-to-use, no exclusions, and no pointer to ns1_get_billing_records or ns1_get_usage_stats as alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.