Skip to main content
Glama

profit_analyze

Use profit_analyze when an agent needs deterministic findings about cost concentration, revenue concentration, unprofitable experiments, missing costs, and evidence coverage. Stateless; price 0.05 USDC. Raw events are not retained and no LLM is used. This is not financial advice or an independent audit. Use profit_calculate for totals without findings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
eventsYes
baseCurrencyNo
exchangeRatesNo
currentCashBalanceNo
currentCashBalancesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries full burden. It discloses statelessness, pricing, data retention ('raw events are not retained'), no LLM usage, and disclaimers (not financial advice). However, it omits details about error behavior or what happens upon invalid input, preventing a 5.

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?

The description is five sentences, each adding unique value: purpose, stateless/pricing, data handling, disclaimer, sibling guidance. No redundant or filler content; front-loaded with the most critical information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (5 parameters, nested objects, output schema exists), the description adequately covers output findings and key behaviors. However, it lacks details on input constraints (e.g., max events, required event fields) and error handling. The output schema partially compensates, but gaps remain.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description does not explain any of the five parameters (events, baseCurrency, exchangeRates, currentCashBalance, currentCashBalances). The agent must infer meaning from parameter names alone, which is insufficient for a tool with nested structures and complex inputs.

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 clearly states that profit_analyze provides deterministic findings about specific financial metrics like cost concentration and revenue concentration, distinguishing it from sibling profit_calculate for totals. It explicitly names the resource categories it analyzes.

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

Usage Guidelines5/5

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

The description explicitly tells when to use the tool ('when an agent needs deterministic findings about...') and when not to, by directing to profit_calculate for totals without findings. It also mentions statelessness and pricing as practical 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.

TDQS

A3.9/5.0
Disambiguation4/5

Tools are largely distinct, though profit_analyze and profit_calculate have overlapping purposes. Descriptions clarify the difference (findings vs totals), but potential confusion remains for agents.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern (profit_*, workspace_*, report_verify). No mixing of conventions.

Tool Count5/5

8 tools is appropriate for a profit ledger server, covering stateless analysis and persistent workspace workflows without excessive or insufficient tools.

Completeness4/5

Core CRUD-like operations are covered for both stateless and persistent modes. Minor gaps exist (e.g., no explicit workspace deletion or listing), but the server's purpose is well-served.

Resources