Skip to main content
Glama

Get scan usage

stack_scan_usage
Read-only

Get the account's content-scan usage and remaining quota for the current month, with the plan the account is on (platform, internal, contract or none).

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": "stack_scan_usage"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered by structured fields rather than prose. The description adds useful scope (current month, account-level) and enumerates the possible plan values (platform, internal, contract, none), which is real context beyond annotations. It stops short of describing quota reset timing, period boundaries, or error behavior when scanning is not enabled.

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?

A single front-loaded sentence with the primary payload (usage and remaining quota) first and the secondary detail (plan type and its enum) trailing. No filler, no restatement of the title.

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?

With no parameters, no nested objects and no output schema, the description has to carry the return shape itself, and it does so by enumerating the three quantities returned and the possible plan values. What is left unstated — quota reset semantics and failure modes when no plan is active — is minor for a read-only reporting call.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; the baseline for a parameterless tool applies. The description correctly implies the account is derived from context rather than passed in.

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+resource — 'content-scan usage and remaining quota' — and scopes it to the current month, which separates it from the LLM/proxy usage siblings by naming the resource type. It does not explicitly name which sibling to use for other usage dimensions, so it falls just 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?

The phrase 'for the current month' implies when this is applicable, and the usage/plan contents imply the reporting use case, but there is no explicit when-to-use or when-to-use-something-else guidance. An agent must infer the boundary against stack_llm_usage_summary and stack_proxy_usage from the resource name alone.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.