Skip to main content
Glama

get-profit-and-loss

Read-only

Get the original profit and loss (income statement) report for a company over a required date range. Returns only report. Use get-profit-and-loss-v2 when the range is optional (it defaults to year to date) or you also need the containsUnreconciledData and hasMulticurrency flags. Use get-balance-sheet for assets and liabilities, or get-trial-balance for every account balance.

Input Schema

NameRequiredDescriptionDefault
idYesCompany ID
dateToYesEnd date (YYYY-MM-DD)
dateFromYesStart date (YYYY-MM-DD)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so the safety profile is covered. The description adds real behavioral context: the date range is mandatory and the response is scoped to the report only (no unreconciled-data or multicurrency flags), which is beyond what the annotations say. It stops short of describing result shape or size.

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?

Four short sentences, front-loaded with what the tool does before the routing rules. No filler; each sentence either defines the output scope or routes to a specific alternative.

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 3-param, read-only report tool with no output schema and full annotation coverage, this is nearly complete: caller gets scope, prerequisites (required dates), and alternatives. The only thin spot is the return payload — 'Returns only report' doesn't indicate structure — but that is a minor gap for a report endpoint.

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% (id = Company ID, dateFrom/dateTo = YYYY-MM-DD), so the schema carries parameter meaning; the description only reinforces that the range is required versus v2's optional range. Baseline 3 is appropriate given the schema does the heavy lifting.

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 (Get) plus resource (original profit and loss / income statement) for a company over a required date range. It also names the exact sibling it differs from (get-profit-and-loss-v2) and two adjacent report tools, so the agent can disambiguate without opening any schema.

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?

Explicit routing: use this one when the date range is required and you only need the report; use get-profit-and-loss-v2 when the range is optional (defaults to YTD) or extra flags (containsUnreconciledData, hasMulticurrency) are needed; use get-balance-sheet / get-trial-balance for other financial statements. Covers when, when-not, and alternatives.

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