Skip to main content
Glama

PocketSmith (read-only)

get_trend_analysis

Read-onlyIdempotent

Gets income and/or expense budget trend analysis for a date range and period — the data behind the Trends report (per-bucket actual vs budget for chosen categories over time). Analyses across specified categories and all user scenarios by default. navigate_to_trends is the matching page link to offer alongside an answer.

Input Schema

NameRequiredDescriptionDefault
periodYesThe period to analyse.
user_idYesThe unique identifier of the user.
end_dateYesEnd date for analysis (YYYY-MM-DD).
intervalYesThe period interval, e.g. 2 with period 'weeks' analyses fortnightly.
scenariosNoOptional comma-separated list of scenario IDs. Defaults to all user scenarios if omitted. Only provide to limit analysis to specific scenarios.
categoriesYesA comma-separated list of category IDs to analyse.
start_dateYesStart date for analysis (YYYY-MM-DD).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description's one behavioral addition, that it analyses all user scenarios by default, largely restates the scenarios parameter description in the schema. No mention of result size, rate limits, or behavior for very wide date ranges.

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?

Three front-loaded sentences that open with the verb and resource, then the data shape, then the companion link. The sentence about default scenarios is somewhat redundant with the schema wording, but the definition is tight overall.

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, fully schema-documented tool with no output schema, the description supplies enough: what data comes back (actual vs budget per bucket over time), the default scenario scope, and the paired navigation tool. Minor gaps are how results are ordered or whether large ranges are truncated.

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%, so every parameter including the interval-with-period example and scenario defaults is already documented. The description restates the date-range and category scoping but adds no syntax or format detail beyond the schema, making the baseline of 3 appropriate.

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?

Names a specific verb and resource (gets income/expense budget trend analysis) and then defines the output conceptually: per-bucket actual vs budget for chosen categories over time. That distinguishes it from analysis siblings such as get_budget_summary or spending_comparison and from the navigation sibling navigate_to_trends.

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

Usage Guidelines4/5

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

Explicitly states that navigate_to_trends is the matching page link to offer alongside the answer, which gives a clear pairing rule. It also states the default scope (all user scenarios) to guide invocation. It stops short of saying when to prefer spending_comparison or get_budget_summary instead, so no explicit exclusion is given.

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