Skip to main content
Glama

Get Profit And Loss

get_profit_and_loss
Read-onlyIdempotent

Get Profit and Loss (income statement) report for a period.

Input Schema

NameRequiredDescriptionDefault
companyNoWhich company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default.
to_dateNoEnd date (YYYY-MM-DD)
from_dateNoStart date (YYYY-MM-DD)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so safety is covered. The description adds nothing beyond that: no statement of default period, basis (accrual/cash), currency handling, or result shape, which is what an agent needs for a report tool with no output schema.

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?

One short, front-loaded sentence with zero filler; the generic term is defined inline. It is efficient, though arguably terse to the point of under-specifying the tool's behavior.

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

Completeness2/5

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

With no output schema and zero required parameters, the description should say what the report returns and what the defaults are when from_date/to_date/company are omitted. Neither is addressed, so the agent cannot confidently call it or interpret the result.

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 coverage is 100% and all three parameters (company, from_date, to_date) are documented with formats, so the schema carries the load. The description only restates 'for a period' without adding date semantics, defaults, or inclusive/exclusive boundary meaning.

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?

States a specific verb and resource ('Get Profit and Loss (income statement) report') and disambiguates the accounting term with the 'income statement' gloss. It does not differentiate from close siblings such as get_balance_sheet, get_trial_balance, get_balance, or get_project_pnl, so the agent still has to guess which report to pick.

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

Usage Guidelines2/5

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

The only usage signal is the phrase 'for a period', which hints that dates matter but never says when to choose this over get_project_pnl (project-level P&L) or get_balance_sheet, nor what happens when the period is omitted. No alternatives or exclusions are named.

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.