Skip to main content
Glama

get_financial_pnl

Read-onlyIdempotent

Retrieve summarized expenses, income, cash flow, and profit-and-loss details. Requires farmId and apiKey authorization.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
monthNoOptional month filter (e.g. 2026-09)
farmIdYesThe unique farm ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/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 the safety profile is covered. The description adds the apiKey authorization requirement, which is genuinely useful context not in the annotations, but it says nothing about the optional month filter's behavior or the return shape.

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 with no filler, purpose front-loaded ahead of the authorization requirement. Efficient and easy to parse, though minimal.

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 read-only retrieval tool with no output schema, the description usefully enumerates the returned data categories and the auth prerequisite. Minor gaps remain around month-filter behavior and result size, but nothing critical is missing.

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%, so both parameters are already documented in the schema (farmId as the unique farm ID, month as an optional YYYY-MM filter). The description adds nothing about the month parameter's semantics or format, so baseline 3 applies.

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 (Retrieve) plus the resource and the exact data categories returned (expenses, income, cash flow, P&L), which distinguishes it from nearby siblings like get_transactions and get_orders. It does not explicitly name an alternative, so it falls short of a 5.

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 description only states a prerequisite ('Requires farmId and apiKey authorization') and offers no guidance on when to choose this over get_transactions, get_orders, or other financial-adjacent siblings. There are no exclusions or alternative routing cues.

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