Skip to main content
Glama

joiva_get_range_summary

Read-onlyIdempotent

Per-day macro totals and entry counts for a date range (max 92 days) from the signed-in user's Joiva log.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "startDate": "<startDate>",
      "endDate": "<endDate>"
    },
    "name": "joiva_get_range_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
tzNoIANA timezone, default Europe/Berlin
endDateYes
startDateYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety profile is covered. The description adds a genuine constraint not present in the schema: a hard 92-day cap, plus confirmation that results are scoped to the signed-in user. It does not say how days with no entries are represented, which is the main remaining gap.

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?

One sentence, front-loaded with the returned data, then the range limit, then the ownership scope. Nothing is redundant and every clause carries information.

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, three-parameter aggregation tool with no output schema, the description covers what is returned, the range cap, and the data owner. Missing only edge-case behavior such as zero-entry days or how the tz parameter shifts day boundaries.

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 only 33% – startDate and endDate have patterns but no descriptions, and only tz is documented. The description compensates partially by constraining the range ('max 92 days'), which applies to the date parameters and is not expressible in the schema, but format and inclusive/exclusive boundary semantics remain undocumented.

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 plus the exact payload ('Per-day macro totals and entry counts') and the scope ('signed-in user's Joiva log'). It implicitly separates itself from joiva_get_day by specifying a range, though it never names the sibling explicitly.

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

Usage Guidelines3/5

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

The phrase 'for a date range' implies this is the multi-day counterpart to joiva_get_day, but no alternative tool is named and no when/when-not condition is stated. The agent must infer the routing decision from the range semantics alone.

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