Skip to main content
Glama
MyArchitectAI MCP server

MyArchitectAI MCP server

Official

Usage Summary

usage_summary
Read-only

Reports this session's MyArchitectAI usage—generation counts, total USD spent, last known balance, and per-tool breakdown—without charging the API account.

Instructions

Report this session's MyArchitectAI usage: number of generations, total USD spent, the last known balance (from the most recent generation — no paid call), and a per-tool breakdown. Spend includes retained content policy charges; generation counts include successful outputs only. Does not charge the API account.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
sinceYesTimestamp of the first recorded generation, or null.
byToolYesPer-tool breakdown of count and cost.
totalCostYesTotal USD spent this session.
lastKnownBalanceYesMost recent balance reported by the API (from a successful or failed call), or null if none yet.
totalGenerationsYesNumber of successful generations recorded this session.
apiKeyFingerprintYesMasked fingerprint (leading ellipsis + last 4 characters) of the active API key, so you can confirm which key is in use without exposing the full secret.
failedGenerationsYesNumber of generations that failed with an API/validation error this session.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

A4/5.0
Behavior5/5

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

Beyond the readOnlyHint and openWorldHint annotations, the description discloses substantive behavior: the balance is a cached last-known value requiring no paid call, spend includes retained content policy charges, generation counts include only successful outputs, and calling it does not charge the API account. These are precisely the semantics an agent needs to trust and interpret the numbers.

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, front-loaded with the reported fields and followed by semantic caveats, with no filler. The nested parenthetical explaining the balance source is slightly dense and could be split for faster scanning, but nothing is wasted.

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 an output schema present and zero parameters, the description covers what an agent needs: scope (this session), cost behavior, and how each figure is computed. Minor remaining ambiguity is what defines a 'session' and whether the per-tool breakdown lists tools with zero usage, but neither blocks correct invocation.

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 the baseline of 4 applies; there is no argument meaning for the description to add, and it correctly describes a zero-input call.

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 names a specific verb and resource ('Report this session's MyArchitectAI usage') and enumerates exactly what is returned: generation count, total USD spend, last known balance, and a per-tool breakdown. It implicitly separates itself from the 'balance' sibling by stating the balance comes from the most recent generation rather than a paid call, though it never names that alternative outright.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is implied rather than stated: an agent can infer this is a free, session-scoped status check and that it is a cheaper substitute for a paid balance lookup. There is no explicit 'use this when...' framing and no direct comparison to siblings such as balance or list_recent_generations.

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