Skip to main content
Glama

Check PDFops quota

pdfops_usage
Read-onlyIdempotent

Check the current PDFops API quota for your configured key, including tier, usage, remaining limit, billing period, and reset time—read-only and safe before starting a batch.

Instructions

Check the current PDFops API quota for the configured key: tier, limit, used, remaining, the billing period, and the reset timestamp. Read-only and safe to call before a batch to confirm there is headroom. Requires PDFOPS_API_KEY.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
tierYesPlan name, e.g. free
usedYes
limitYesCalls allowed in the current period
periodYesBilling period the counts belong to, YYYY-MM
remainingYes
resets_atYesISO 8601 timestamp when used resets to 0

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.5.0
    • addedOutput schema / properties / limit / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / limit / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / remaining / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / remaining / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / used / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / used / minimum
      Added value: +-9007199254740991
  2. Changed1 schema field changedv0.3.2
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "limit": {
      +      "description": "Calls allowed in the current period",
      +      "type": "integer"
      +    },
      +    "period": {
      +      "description": "Billing period the counts belong to, YYYY-MM",
      +      "type": "string"
      +    },
      +    "remaining": {
      +      "type": "integer"
      +    },
      +    "resets_at": {
      +      "description": "ISO 8601 timestamp when used resets to 0",
      +      "type": "string"
      +    },
      +    "tier": {
      +      "description": "Plan name, e.g. free",
      +      "type": "string"
      +    },
      +    "used": {
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "tier",
      +    "limit",
      +    "used",
      +    "remaining",
      +    "period",
      +    "resets_at"
      +  ],
      +  "type": "object"
      +}
  3. First observedv0.2.0

TDQS

A4.5/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 open-world, so the safety profile is covered. The description adds genuinely new context beyond them: the call depends on a configured PDFOPS_API_KEY, and calling is a cheap pre-flight check rather than a mutation. It does not mention failure behavior when the key is missing, which keeps it short of a 5.

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?

Two sentences, front-loaded with the resource and its returned fields, then the practical guidance and prerequisite. Nothing is repeated twice and nothing is padding.

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

Completeness5/5

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

For a zero-argument read tool with full annotation coverage and an output schema, this is complete: what it returns, that it is safe, and the one environmental prerequisite are all present. Return-value detail is backed by the output schema, so nothing needed for correct invocation is missing.

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 no parameter meaning to convey and the baseline applies. The description correctly adds no parameter prose, avoiding noise.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

It states a specific verb and resource ('Check the current PDFops API quota for the configured key') and enumerates what comes back (tier, limit, used, remaining, billing period, reset timestamp). No sibling in the list does quota/metering, so it is trivially distinguishable from the pdf_* operation tools.

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?

It gives an explicit usage moment: 'safe to call before a batch to confirm there is headroom.' That is a concrete when-to-use that an agent can act on. It stops short of saying when not to call it or how often, but there is no competing alternative to route against.

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