Skip to main content
Glama

get_slot

Get the current slot reached by a Solana node at a chosen commitment level to check network sync and confirm transaction finality.

Instructions

Get the current slot the node has reached, at the given commitment level.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commitmentNofinalized
Behavior3/5

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

With no annotations provided, the description carries the full burden. It accurately indicates a read operation ('get'), which implies non-mutating behavior, but it does not disclose additional behavioral traits such as return format, potential errors, or latency. The transparency is adequate but not rich.

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?

The description is a single, compact sentence (12 words) that is front-loaded with the verb and resource. It contains no redundant information, making it highly concise and well-structured.

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?

The tool is simple with one optional parameter and no output schema. The description sufficiently explains the tool's purpose and the key parameter, making it complete for a basic getter. It does not explain return values, but for such a simple tool, this is a minor gap.

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 schema leaves the 'commitment' parameter undocumented with 0% coverage. The description adds significant meaning by mentioning 'at the given commitment level', clarifying that the commitment parameter influences which slot is returned. This compensates for the schema's lack of detail.

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?

The description clearly states the verb 'Get' and the resource 'slot', and specifies the nuance of 'the node has reached' with 'commitment level'. It is distinct from sibling tools like get_epoch_info or get_health, which target different data.

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 description implies usage for retrieving the current slot, but it does not provide explicit guidance on when to use this tool versus alternatives, nor does it mention any exclusions or prerequisites. The context is clear but lacks explicit comparison to sibling tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AllenGeorge08/Sonar-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server