Skip to main content
Glama

internal_squad_get_internal_squad_usage

Retrieve traffic usage for internal squad users within a date range, returning only those exceeding a minimum byte threshold. Supports pagination.

Instructions

GET /api/internal-squads/{uuid}/usage Get internal squad users traffic usage for a period Returns users whose total usage over the period on the given nodes is >= minTotalBytes, scoped to the nodes reachable via the internal squad inbounds. Underlying usage data is flushed to the database roughly every 2 minutes. Tags: Internal Squads Controller Пагинация через query-параметры: start, limit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endYesEnd date (YYYY-MM-DD)
uuidYesInternal squad UUID
limitNoNumber of users to return, no more than 1000
startYesStart date (YYYY-MM-DD)
cursorNoPass the nextCursor from the previous response. Omit on the first request.
minTotalBytesNoOnly include users whose total usage over the period is >= this (bytes)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/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 does add genuinely useful context: the scoping rule for which nodes count, the minTotalBytes filter semantics, and the fact that underlying usage data is flushed to the database roughly every 2 minutes (i.e., results can lag). It omits auth requirements and the actual return/pagination shape, so it is a partial disclosure.

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 content is reasonably short and the core sentence is front-loaded, but the definition is cluttered with a raw HTTP route line, a 'Tags:' line, and a stray Russian sentence about pagination that adds noise and is partly wrong.

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 has to do more work, and it does cover the noteworthy traits (node scoping, minTotalBytes threshold, ~2-minute data flush lag). It still leaves the response shape, ordering, and true pagination behavior unaddressed, which matters for a cursor-paginated list endpoint.

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 coverage is 100%, which sets a baseline of 3, but the description's pagination note is actively misleading: it says pagination is via 'start, limit', while the schema uses 'limit' plus 'cursor' and 'start' is a date range bound, not an offset. This contradicts the structured parameter definitions rather than supplementing them, so it scores below the baseline.

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: fetches internal squad users' traffic usage over a period, scoped to nodes reachable via the squad's inbounds, filtered by minTotalBytes. Clear enough to act on. However, it does not distinguish itself from the near-identically named sibling internal_squad_stats_get_internal_squad_usage, so the boundary between the two is left to inference.

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

Usage Guidelines2/5

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

The description explains what the result set contains but never says when to choose this tool over the sibling internal_squad_stats_get_internal_squad_usage or the other internal_squad_* stats tools. No when-to-use, prerequisites, or exclusions are given.

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

Install Server

Other Tools