Skip to main content
Glama
mobile-release-mcp

mobile-release-mcp

by ahsan1998

get_versions

Read version and build numbers from React Native/Expo project files and flag mismatches to catch release inconsistencies.

Instructions

Read the version and build numbers from a React Native / Expo project (package.json, app.json, build.gradle, Info.plist) and flag mismatches.

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": {
      "projectRoot": "<projectRoot>"
    },
    "name": "get_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
iosAppNameNoFolder name under ios/ that holds Info.plist (bare RN only)
projectRootYesAbsolute path to the app project root

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/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; it does disclose that the operation only reads and which four files are consulted, which is useful. However it says nothing about behavior when a file is absent, whether mismatches are errors or informational, or how results are surfaced.

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?

One sentence, front-loaded with the core action, with the file list and the mismatch-flagging outcome as supporting detail. Nothing redundant.

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?

The tool is simple (2 params, no nesting) and the required parameter is fully documented in the schema. But there is no output schema, so the description should have described what 'flag mismatches' actually returns — a report, an error, structured fields — and it does not.

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% (both projectRoot and iosAppName are documented), so the baseline is 3. The description mentions Info.plist and the React Native/Expo context, which loosely relates to iosAppName, but adds no new meaning about either parameter.

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 ('Read the version and build numbers') and enumerates the exact source files it inspects (package.json, app.json, build.gradle, Info.plist). The read-only framing plus 'flag mismatches' implicitly separates it from the mutating sibling bump_version without needing to name it.

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 description implies the use case (inspecting a project's current versions and detecting drift), but never states when to call this versus bump_version or a release/build tool. No prerequisites, no exclusions, no explicit alternative named.

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