Skip to main content
Glama

Pkg Go Dev Latest Version

pkg_go_dev_latest_version
Read-onlyIdempotent

Most recent released version of a Go module, with the resolved time.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "module_path": "github.com/gin-gonic/gin"
    },
    "name": "pkg_go_dev_latest_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
module_pathYesModule import path

Output Schema

NameRequiredDescriptionDefault
TimeNoTimestamp of the release
VersionNoResolved latest version identifier

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered. The description adds only that the resolved time is included, and does not clarify how 'latest' is chosen (prereleases, pseudo-versions, +incompatible) or that resolution follows the Go module proxy.

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?

One short sentence with no filler, and the key qualifier ('most recent released version') is front-loaded. It is slightly under-specified rather than padded, but nothing needs cutting.

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?

This is a simple one-parameter read tool with rich annotations and an output schema, so the description need not explain return values. However, for a 'latest version' resolver the definition omits the one thing an agent would want to know — whether prereleases or pseudo-versions are eligible — leaving a small but real gap.

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?

There is a single parameter with 100% schema description coverage ('Module import path'), so the schema already does the work. The description's phrase 'of a Go module' reinforces but does not extend parameter meaning — no format examples or edge cases beyond the schema's own 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 a specific resource and scope: the most recent released version of a Go module, plus the resolved time. An agent can distinguish it from pkg_go_dev_list_versions by the 'most recent' qualifier, though it never names that sibling. It reads as a noun phrase rather than 'verb + resource', but the intent 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?

Usage is only implied: an agent can infer this is for the single newest version rather than a full list. There is no explicit when-to-use, no when-not-to-use, and no named alternative such as pkg_go_dev_list_versions or get_go_mod.

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.