Skip to main content
Glama
pineforge-4pass

PineForge-Codegen

check_engine_image

Checks local Docker image currency against registry. Optionally pulls updates to ensure the backtest engine is current.

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).
Behavior5/5

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

With no annotations, the description carries full burden and does well: it explains the mechanism (docker manifest inspect, no layers downloaded), the return values (up_to_date, recommend_pull), the auto_pull behavior, and notes version independence from the MCP server.

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 concise (5 sentences) with no fluff. Each sentence adds unique information, starting with the core purpose, then mechanism, returns, options, and an important caveat. Well structured and front-loaded.

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 no output schema, the description returns what it provides ('up_to_date + recommend_pull') but lacks details on the format or error handling. It covers the main behavior well but is not fully detailed.

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% with descriptions, but the tool description adds default values for both parameters and clarifies auto_pull behavior beyond the schema, enhancing understanding.

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 clearly states the verb 'check' and the specific resource 'pineforge-release Docker image', distinguishing it from sibling tools like 'pull_engine_image'. It says exactly what the tool does: checks if the local image is up to date.

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 implies the tool is for checking rather than pulling, and the auto_pull option allows pulling when needed. However, it does not explicitly mention the sibling 'pull_engine_image' as an alternative for pure pulling, leaving some ambiguity.

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

Install Server

Other Tools

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/pineforge-4pass/pineforge-backtest-mcp'

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