Skip to main content
Glama

Diavgis — Greek Public Procurement

Plan, Usage and Remaining Calls

get_quota
Read-onlyIdempotent

What your signed-in Diavgis account's plan allows right now (or the API key's, if you connect with one): plan, calls used this period, calls remaining, per-minute rate, page-size and pagination caps, and when the period resets. Free — this call is not counted against the quota. Useful for sizing a long job.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
planYes
usedYescalls consumed this period (REST + MCP share one counter)
limitNomonthly quota, null if unlimited
max_pagesYespagination depth cap; deeper pages return an error, narrow with filters instead
remainingNo
pricing_urlNo
period_resetYesISO date when used resets to 0
rate_per_minYes
max_page_sizeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / plan / enum
      Previous value: -[
      -  "free",
      -  "pro",
      -  "business"
      -]New value: +[
      +  "free",
      +  "basic",
      +  "pro",
      +  "business"
      +]
  2. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds genuinely new behavior: the call is free and not counted against the quota, and the result depends on whether the caller authenticated with an account or an API key — exactly the kind of context an agent needs before calling a metered service.

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?

One front-loaded sentence states the resource and its full contents, followed by two short, high-value clauses about cost and purpose. The parenthetical about API-key auth is the only digression and it earns its place by clarifying whose quota is read.

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?

An output schema exists, so return-value detail is not required from the description, and the zero-parameter schema means there is no input ambiguity to resolve. Scope, auth variation, cost, and intended use are all covered, leaving nothing an agent needs 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 nothing for the description to disambiguate and the baseline applies. The description correctly adds no parameter discussion and instead spends its words on scope and cost.

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?

The description names a specific verb-and-resource pair (report the account's plan/quota state) and enumerates exactly what is returned: plan, calls used, calls remaining, per-minute rate, page-size and pagination caps, and reset time. None of the sibling tools (get_act, get_chain, search_tenders, etc.) could be confused with this quota-reporting call.

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 a concrete usage context — 'Useful for sizing a long job' — which tells the agent when to reach for it, plus a scoping note about signed-in account vs API key. It stops short of explicitly naming an alternative or an exclusion case, so it is clear context rather than full when/when-not guidance.

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.