Skip to main content
Glama
pineforge-4pass

PineForge-Codegen

Check the engine image

check_engine_image
Idempotent

Checks if the local PineForge engine Docker image matches the registry by comparing manifest digests without downloading layers; can auto-pull when stale or missing.

Instructions

Check whether the local pineforge-release Docker image is up to date with the registry. Compares per-platform manifest digests via docker manifest inspect --verbose (no image layers downloaded). Returns up_to_date + recommend_pull. With auto_pull=true, runs docker pull in the same call when the local image is stale or missing. Note: this is independent of the MCP server's own version (@pineforge/backtest-mcp); the MCP version and the engine image version evolve separately.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
imageNoImage to check. Defaults to ghcr.io/pineforge-4pass/pineforge-engine:latest.
auto_pullNoIf true and the image is stale or missing, run `docker pull` in the same call. Default false (report only).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.4

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare the safety profile (openWorld, idempotent, non-readOnly), so the bar is lower, and the description still adds real substance: the exact lookup mechanism, that no layers are downloaded, and that auto_pull triggers docker pull inline. It doesn't cover auth requirements or rate limits, but the mutation semantics behind readOnlyHint=false are explained.

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?

Front-loaded with the core purpose and the method, then escalation behavior, then the disambiguating note about MCP version independence. Dense and mostly waste-free, though the version note lengthens it without being strictly required to invoke the tool.

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?

With no output schema, the description compensates by naming the return fields (up_to_date + recommend_pull) and explaining the side effects of auto_pull. The independence note removes a genuine ambiguity about what 'up to date' covers, so an agent has everything needed to call it correctly.

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% and both parameters are already documented in the schema, including the image default and auto_pull semantics. The description largely restates that behavior rather than adding new syntax or format guidance, so baseline 3 applies.

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+resource ('check whether the local pineforge-release Docker image is up to date with the registry') and explicitly scopes the comparison method (per-platform manifest digests, no layer downloads). An agent can distinguish this from pull_engine_image and from MCP-version concerns without opening the schema.

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?

Gives clear context for when to call it (staleness check) and describes the auto_pull=true escalation path. It does not explicitly name pull_engine_image as the alternative for a pure pull, so the routing guidance is implicit rather than stated.

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