Skip to main content
Glama

check_for_updates

Detect whether the CORE Rules Engine has GitHub updates by comparing local HEAD with origin/main, returning availability, new commit count, and messages without changing local files.

Instructions

Check if CORE Rules Engine has updates available on GitHub.

Runs 'git fetch' and compares local HEAD with origin/main without modifying local files.

Returns: Whether updates are available, number of new commits, and commit messages.

Usage: check_for_updates()

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/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 it does disclose meaningful behavior: it performs a 'git fetch' (a network operation against GitHub), compares local HEAD with origin/main, and explicitly does not modify local files. It omits failure modes such as no network access or authentication against a private repository, which for a fetch-based tool would be useful context.

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?

The content is front-loaded with the purpose, followed by mechanism and return values, which is a sensible order and free of filler. The trailing 'Usage: check_for_updates()' block restates the name and signature without adding information, but it is a minor waste.

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?

For a simple zero-parameter read tool with no output schema, the description covers purpose, mechanism, side-effect profile, and the shape of the return value (availability, commit count, commit messages). Only environment preconditions such as network or repository access are unstated.

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 tool takes zero parameters, so the schema has nothing to explain and the description correctly adds nothing. Baseline of 4 applies for a no-parameter tool.

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?

States a specific verb and resource: checks whether CORE Rules Engine has updates on GitHub. The clause 'without modifying local files' implicitly separates it from the update_engine sibling, but it never names that sibling, so differentiation requires inference from a tool the agent may not have inspected.

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 'Usage: check_for_updates()' block is only a call signature, not guidance on when to call it. The non-modifying behavior implies a check-before-update workflow, but the description never states that you should call this first and then call update_engine to apply changes, nor does it give any preconditions.

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