Skip to main content
Glama

update_engine

Updates the CORE Rules Engine by pulling from GitHub, reporting changes and returning update status and version info.

Instructions

Pull latest CORE Rules Engine from GitHub and report changes.

Runs 'git pull origin main' and returns the new version info. Note: After updating, you may need to rebuild the rules cache using the CORE CLI: python core.py update-cache --apikey YOUR_KEY

Returns: Update status, git output, and new version info.

Usage: update_engine()

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the actual mechanism (git pull on origin main) plus a required post-step involving an API key, which is valuable operational context. However, it omits what happens to local modifications, whether network or repo credentials are required, and what occurs on failure or conflict — material risks for a mutating tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening line is well front-loaded and earns its place, but the 'Returns' block largely repeats that it reports update status and version info, and 'Usage: update_engine()' is pointless for a zero-parameter function. The README-style scaffolding adds bulk without adding decision-relevant information.

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?

For a no-param, no-output-schema tool this covers the essentials — what it does, how, and the critical follow-up cache rebuild. What is missing is behavioral completeness around preconditions and failure: no statement about needing network access, git availability, or how conflicts with local changes are handled.

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 baseline is 4. The description confirms the no-argument call form via 'update_engine()' and introduces no phantom inputs, leaving nothing ambiguous about invocation.

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 concrete verb and resource: it pulls the latest CORE Rules Engine from GitHub and reports changes, and even names the underlying command 'git pull origin main'. That is far more specific than a restatement of the name, but it never distinguishes itself from siblings such as check_for_updates or get_engine_version, so an agent must infer whether this one actually mutates the local install.

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

Usage Guidelines2/5

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

The only 'Usage' content is the literal signature 'update_engine()', which conveys no when-to-use guidance. It never says whether to run check_for_updates first, whether this is safe to call repeatedly, or when it should be avoided; the one genuinely useful pointer is the note that a cache rebuild follows via the CORE CLI.

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