Skip to main content
Glama

get_current_max_dive_number

Read-only

Reads the current highest dive number from Garmin Connect without reserving or consuming the next dive number.

Instructions

Current maximum Dive number; reading does not reserve the next number. Reads, does not reserve the next number.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_current_max_dive_number"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.12.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds one genuinely useful behavioral fact beyond them: the read has no reserving side effect on the next dive number. It omits other behavior an agent would want, such as what is returned when no dives exist (0, null, or error).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is very short, but roughly half of it is a verbatim restatement: 'reading does not reserve the next number' is said twice. The front-loaded clause is good, yet the duplication wastes the limited space rather than earning it.

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

Completeness3/5

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

With no parameters and no output schema, the description is the only place to explain the return value, and it does not say whether an empty dive log yields zero, null, or an error. For a trivially simple tool this is close to adequate, but the missing empty-state behavior is a real gap for an agent deciding how to branch.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there is nothing for the description to disambiguate and the baseline of 4 applies. No parameter meaning is lost.

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?

The description states a specific resource and scope: the current maximum dive number. It is distinguishable from listing siblings such as get_dive_logs or get_dive_log, which return records rather than a single scalar maximum. It does not name an alternative explicitly, but the resource is unambiguous.

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 'reading does not reserve the next number' implies when this is appropriate (safe peeking before deciding to create a dive) rather than an allocating call. However, it never names an alternative tool or states an explicit when-not-to-use condition, so the routing guidance is implied rather than given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools