Skip to main content
Glama

Solana latest slot

solana_latest_slot
Read-onlyIdempotent

Latest finalized Solana slot and its block time. When to use: To check how fresh the finalized view of Solana is, or to anchor a read to a slot. Prefer another tool: Not a tip-of-chain feed: it is finalized, not processed or confirmed, and it is cached for 2 seconds. Example: solana_latest_slot {}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
metaYes
slotYesLatest finalized slot
block_timeYesBlock time of that slot; null when unavailable

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent and openWorld, so the safety profile is free. The description adds genuinely new behavioral context: the 2-second cache and the finalized-vs-processed/confirmed distinction, both of which affect how an agent interprets freshness. It does not cover error or failure behavior.

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?

Front-loaded with the return contract, then usage, then caveat, then example, with no wasted prose. The 'Prefer another tool:' label is slightly confusing since no tool is actually named after it.

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?

An output schema exists, so return values need not be explained, and for a no-arg read the description is nearly sufficient. The one missing piece is the identity of the alternative tool the caveat alludes to, which the sibling list suggests exists.

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?

Zero parameters, so there is no parameter semantics to convey and the schema imposes no burden; baseline 4 applies. The description correctly shows the empty-argument call form via the example.

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 names the specific resource and scope: the latest FINALIZED slot plus its block time. That scope word distinguishes it from a tip-of-chain feed, but no sibling (e.g., get_latest_ledger, solana_network_health) is named, so the agent must still infer which Solana freshness tool to pick.

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?

It gives a concrete when-to-use condition (check how fresh the finalized view is, or anchor a read to a slot) and a when-not (not a tip-of-chain feed, finalized rather than processed/confirmed). It stops short of naming the specific alternative tool the 'Prefer another tool' line gestures at.

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