Skip to main content
Glama

Storage and AI credits left

tarkle_get_usage
Read-onlyIdempotent

One workspace's storage (usedBytes, limitBytes, freeBytes, bytes by kind of file, region, and how it gets its space: own, shared from the organization's pool, or assigned) and the AI credits it can still spend today and this month (aiCredits: payer tarkle or own_key, today, thisMonth, the plan allowance, the workspace caps, extra credits, when each window resets). A null limit means no limit. Asking questions (tarkle_ask) and reading data with Studio spend credits; reading files and searching do not.

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": {
      "workspaceId": "<workspaceId>"
    },
    "name": "tarkle_get_usage"
  }
}

Input Schema

NameRequiredDescriptionDefault
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
workspaceIdYesThe workspace's id, from tarkle_list_workspaces.

Output Schema

NameRequiredDescriptionDefault
storageNo
aiCreditsNo
workspaceIdNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered. The description does add genuinely new semantics: 'A null limit means no limit', the payer distinction (tarkle vs own_key), and which operations burn credits. However, since an output schema exists, much of the field enumeration duplicates structured data rather than disclosing behavior.

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

Conciseness3/5

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

The tool's core purpose is front-loaded correctly, but the opening sentence is a single sprawling parenthetical packing a dozen field names, several of which are already declared in the output schema. The two trailing sentences about credit spending and null limits are the highest-value content and would be better placed first.

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 annotations covering the safety profile, an output schema covering return shape, and full parameter coverage, the description supplies the remaining non-obvious pieces: null-limit semantics, credit payer modes, reset timing, and which sibling operations consume credits. Only the absence of any guidance on caching/polling freshness keeps it from a 5.

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%, with workspaceId documented as coming from tarkle_list_workspaces and llm_model documented inline, so the schema carries the burden. The description adds nothing about either parameter — notably nothing about llm_model being analytics-only or whether workspaceId affects the response scope. Baseline 3 applies.

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 resource in a specific scope ('One workspace's storage ... and the AI credits it can still spend today and this month') and enumerates the returned quantities (usedBytes, limitBytes, freeBytes, region, allocation mode, today/thisMonth credit windows). It is clearly distinguishable from siblings such as tarkle_set_portal_storage_limit (a mutation) and tarkle_ask (a credit consumer).

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 real routing context by stating that 'Asking questions (tarkle_ask) and reading data with Studio spend credits; reading files and searching do not', which implies this is the tool to check before spending. It stops short of an explicit 'use this before calling tarkle_ask to verify remaining credits' instruction or any when-not-to-use exclusion, so it is not a 5.

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.