Skip to main content
Glama

Get credits

get_credits
Read-onlyIdempotent

Show how many Masonry credits the connected workspace has left to spend, with its name and plan. For a question about the balance, or before a large job (a video or a 20-photo product shoot) to see that it fits. Masonry reaches one workspace, the one chosen when it was connected, and no tool takes a workspace name: another workspace is reached by connecting Masonry again and choosing it. Credits are managed in the Masonry web app (https://masonry.so). Free: checking costs no 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_credits"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. The description adds substantial context beyond that: only the single connected workspace is reachable, no tool accepts a workspace name, credits are managed in the web app, and checking is free. It does not describe pagination or output shape, but there is little of either for a zero-parameter read.

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?

Front-loaded with the core purpose and return contents, then usage triggers, then the workspace constraint and cost clarification. The closing web-app URL and free-checking note are slightly peripheral, but each sentence carries real guidance.

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?

For a zero-parameter, read-only tool with no output schema, the description covers what is returned, when to call it, and the key scoping limitation that would otherwise cause a wrong invocation. Remaining gaps (exact response format, units) are minor given the tool's simplicity.

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 parameter semantics default to the baseline. The description appropriately adds that the scope is fixed to the connected workspace rather than a caller-supplied identifier, which prevents an agent from attempting a workspace argument.

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?

States a specific verb and resource ('Show how many Masonry credits the connected workspace has left') and names the return contents (balance, workspace name, plan). An agent can distinguish this reporting tool from the generation/list siblings without opening the schema.

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?

Gives explicit triggers: a question about the balance, or a pre-check before a large job such as a video or 20-photo product shoot. It also explains the workspace scoping rule and how to reach a different workspace (reconnect). Clear context, though it does not name any sibling tool as an alternative path.

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