Skip to main content
Glama

cfg_check_update

Checks PyPI for a newer cfgit release at session start, reports available updates, and records a snooze period so users can choose to upgrade or postpone.

Instructions

Check PyPI for a newer cfgit release. Call this at the start of a cfgit session; if data.update_available is true and not data.snoozed, tell the user the new version and offer to upgrade (pip install -U cfgit) or to snooze. NEVER upgrade for them.

Pass `snooze_days` (e.g. 30) to record a "don't ask again for N days" snooze when the user
asks to be reminded later. Best-effort and fail-silent; honors CFGIT_NO_UPDATE_CHECK.

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": "cfg_check_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
snooze_daysNoSnooze the update reminder for this many days (e.g. 30). Omit to check now.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.5

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so well: it discloses fail-silent/best-effort semantics, the CFGIT_NO_UPDATE_CHECK environment override, and a hard behavioral constraint ('NEVER upgrade for them') that prevents an agent from taking an unintended destructive action.

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?

Four tight sentences, front-loaded with the action, then the session-start timing, then the conditional workflow, then the parameter. Every sentence carries operational instruction with no filler.

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

Completeness5/5

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

An output schema exists, yet the description still names the key fields (data.update_available, data.snoozed) that drive the agent's decision, and covers environment suppression and safety constraints. Nothing needed to invoke or act on it correctly is missing.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning beyond the schema: it explains the user-facing trigger for the parameter (reminder request) and clarifies 'Omit to check now,' complementing the schema's default of null.

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?

States a specific verb and resource: 'Check PyPI for a newer cfgit release.' An agent immediately knows this is an update-availability check, not a mutation or config operation, and no sibling tool in the catalog performs this function.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly instructs 'Call this at the start of a cfgit session' and gives conditional follow-up behavior tied to output fields (offer upgrade or snooze when update_available and not snoozed). It also states when to pass snooze_days: 'when the user asks to be reminded later.'

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