Skip to main content
Glama
ecp-mcp-server

ecp-mcp-server

by EpicLabs23

ecp_asdf_recommend

Selects a compatible LTS or stable runtime version for an app without an exact version pin, applying detected constraints and returning an installed match or installable release.

Instructions

Pick a runtime version for an app that doesn't pin one exactly (ecp_apps_detect returned no runtime_version). Pass runtime_constraints from ecp_apps_detect as constraints (or [] if there were none). Returns the newest LTS release (newest stable for tools with no LTS, like python) that satisfies all of them - e.g. engines.node ">=22" gets the latest Node LTS, not 22. installed_match is an installed version on that line to use as-is; otherwise install version. relaxed=true means no release met every upper bound, so only minimums were applied. Prefer this over choosing a version yourself.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>"
    },
    "name": "ecp_asdf_recommend"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
constraintsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the resolution algorithm (newest LTS, newest stable fallback for tools without LTS like python), the semantics of relaxed=true (no release met every upper bound, only minimums applied), and the installed_match-vs-install branch. It does not state whether the call itself mutates anything or what error/permission conditions exist, which is the remaining gap.

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 purpose and precondition, then the argument mapping, then return semantics, then the preference nudge — a sensible order. It is dense and somewhat run-on in the middle (installed_match/relaxed sentences), but every sentence conveys actionable information rather than 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?

There is no output schema and no annotations, yet the description explains the returned fields (version, installed_match, relaxed) and how they should be interpreted, plus the selection algorithm. For a two-parameter read-style resolver, nothing an agent needs in order to call it or use its result 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 0%, so the description must compensate, and it largely does: it explains that `constraints` takes runtime_constraints from ecp_apps_detect, defaults to [], and gives a concrete example ('engines.node ">=22" gets the latest Node LTS, not 22'). The `name` parameter is only implied ('for an app') rather than defined, so a small gap remains.

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 ('Pick a runtime version for an app') and immediately scopes it with the precondition that ecp_apps_detect returned no runtime_version. This clearly separates it from siblings like ecp_asdf_install (which installs) and ecp_asdf_list_all_versions (which lists).

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?

Gives an explicit trigger (detect returned no runtime_version), an explicit input source ('Pass runtime_constraints from ecp_apps_detect as constraints, or [] if there were none'), and an explicit preference statement ('Prefer this over choosing a version yourself'). The when-not case is implied by the trigger condition being narrow.

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

Deploy Server

Other Tools