Skip to main content
Glama

Margo credits and usage

get_usage_and_quota
Destructive

Refresh saved allowance-period accounting and read your current plan allowance and purchased credits before agreeing to a research search. Does not purchase credits.

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_usage_and_quota"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false and destructiveHint=true, so that bar is lower. The description does add real context: it hints at a mutation ('Refresh saved allowance-period accounting') and narrows the side effects ('Does not purchase credits'). However, the key risk is left unexplained: it does not say what saved accounting state gets overwritten or reset, or whether that refresh can be undone. This is a notable gap for a tool marked destructive.

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?

Two sentences, with the refresh action and read action stated before the 'Does not purchase credits' caveat, so the important information comes first. Every clause contributes something, though the phrasing 'saved allowance-period accounting' is denser than it needs to be.

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 and no output schema, the description has to convey what is returned, and it does: the current plan allowance and purchased credits. It is close to complete for a zero-argument tool; the only thing missing is an account of how destructive the refresh is.

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 no parameters, so per the baseline this dimension scores 4. The description adds no parameter guidance, but none is needed.

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?

The description gives a specific verb and resource: it refreshes saved allowance-period accounting and reads the current plan allowance and purchased credits. That is enough for an agent to tell it apart from the sibling tools, none of which deal with credits. The only slight weakness is that 'allowance-period accounting' is jargon that an agent cannot easily interpret.

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 trigger ('before agreeing to a research search') and sets one boundary ('Does not purchase credits'), which tells the agent what this tool is not for. It names no alternative tool to use instead of this one, but the guidance on timing is concrete and actionable.

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.

Resources