Skip to main content
Glama

Show remaining usage

pmitz_get_remaining_limits
Read-onlyIdempotent

Reads the remaining units of each limit of a feature for a subject. For a subscription the limits of its plan are applied. A negative value means usage is already above the limit. Acts on one Pmitz sandbox.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "sandbox": "<sandbox>",
      "groupId": "<groupId>",
      "productId": "<productId>",
      "featureId": "<featureId>"
    },
    "name": "pmitz_get_remaining_limits"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupIdYesIdentifier of the subscription, user or directory group.
sandboxYesThe sandbox key returned by pmitz_create_sandbox, for example pmz_ab12cd34ef56_….
featureIdYesFeature ID inside that product.
groupTypeNoKind of subject. Use "subscriptions" when access depends on a plan.
productIdYesProduct ID from the catalog.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds genuinely new behavior: a negative value means usage is already above the limit, and plan limits are applied for subscriptions. The sandbox scoping sentence is mild redundancy but reinforces single-sandbox scope.

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

Conciseness4/5

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

Four short sentences, front-loaded with the core action and followed by the two most decision-relevant facts (plan limits for subscriptions, negative-value semantics). "Acts on one Pmitz sandbox" borders on restating the required sandbox parameter, but nothing else is wasteful.

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 output schema, the description does the work of explaining what comes back (remaining units per limit) and how to interpret edge values (negative = over limit). For a read-only, non-destructive tool with fully covered parameters, the remaining gap is minor, such as whether all limits are always returned or how it behaves for a missing subject.

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%, so all five parameters are already documented, including the groupType enum guidance. The description adds only the general notion of a "subject" and does not explain relationships between parameters (e.g., how groupId is interpreted per groupType) beyond what the schema states. Baseline 3 is appropriate.

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?

"Reads the remaining units of each limit of a feature for a subject" states a specific verb (reads remaining units) and resource (per-limit remaining usage for a feature/subject), which is meaningfully different from a boolean-style check or an entitlement verification. It does not explicitly name a sibling like pmitz_check_limits or pmitz_verify_entitlement, so differentiation is left partly 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 Guidelines3/5

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

"For a subscription the limits of its plan are applied" gives useful context about when plan-derived limits matter, implying use for quota inspection under a subscription. However, it never states when to prefer this over pmitz_check_limits or pmitz_verify_entitlement, nor any exclusions or prerequisites.

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.