Skip to main content
Glama

provider_version_guard

Read-onlyIdempotent

Compare installed CLI versions against contracted targets to identify drift, check for available newer releases, and receive the exact upgrade command for each provider.

Instructions

Compare installed provider CLI versions against their contracted targets, and optionally check whether a newer version is published. Reports which providers drifted and which can be upgraded, plus the exact upgrade command for each.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cliNoCLI filter (claude|codex|gemini|grok|mistral|devin|cursor)
timeoutMsNoPer-provider timeout for the upgrade check
checkUpgradesNoWhen true, query each provider's release source for a newer version. Costs network and one subprocess for grok; four of seven providers can be checked, the rest report unknown with a reason.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv3.2.0

TDQS

A4.2/5.0
Behavior4/5

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

The description adds behavioral context beyond the readOnly annotation by stating that it reports upgrade commands rather than executing them, and that upgrade checking is optional. It also implies external version-source queries for the optional check, consistent with openWorldHint. No contradiction with annotations.

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 two compact sentences with no filler. It front-loads the primary action, then adds the optional behavior and the key output, making every sentence earn its place.

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?

Given the rich schema descriptions and annotations, the description is nearly complete: it covers what the tool compares, the optional upgrade check, and the report contents including exact upgrade commands. The only minor gap is not explicitly stating what happens when checkUpgrades is false, but that is implied and covered by the schema.

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 description coverage is 100%, so the schema fully documents all three parameters. The description loosely maps to checkUpgrades with 'optionally check whether a newer version is published' but adds no new parameter-level meaning beyond the schema.

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 uses a specific verb and resource: it compares installed provider CLI versions against contracted targets and reports drift/upgrade status. This clearly distinguishes it from sibling tools like cli_versions, upstream_contracts, and cli_upgrade by focusing on comparison, drift reporting, and upgrade-command generation.

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?

The description gives clear context for when to use the tool: when you need to know which provider CLIs have drifted from their contracted versions and which can be upgraded. It does not explicitly name alternatives or exclusions, such as directing actual upgrade execution to cli_upgrade, but the context is clear enough for an agent to select it appropriately.

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

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/verivus-oss/llm-cli-gateway'

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