Skip to main content
Glama

Find a build

find_build
Read-only

Is this build already uploaded? Looks up the project's newest ready build by the file's sha256, else by a native fingerprint; build is null when neither matches. A sha256 match means the exact file is uploaded: run it with run_test {buildId} / run_project {buildIds} instead of uploading again. A fingerprint match (a hash of the native inputs the uploader stored with the build, for example @expo/fingerprint) means the native build is unchanged, so CI can skip building it. The command-line tool does this for files: testsy-ai build find / build ensure. Reference: https://testsy.dev/docs/mcp/

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": {
      "projectId": "<projectId>"
    },
    "name": "find_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
sha256Nosha256 of the build file, 64 hex characters
projectIdYesProject id (p_…)
fingerprintNoNative fingerprint stored with the build (8–128 characters)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description complements them with non-obvious behavior: only 'newest ready' builds are considered, sha256 takes precedence over fingerprint, and the result is null when neither matches. It stops short of describing the shape of a matched build (no output schema exists), so the agent knows the null case but not what fields come back on a hit.

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 question the tool answers, then the matching rules, then the downstream action – a good information order with no filler. The trailing CLI equivalent and docs URL are marginally useful cross-references rather than essential content.

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?

For a read-only lookup with no output schema, the description covers matching keys, precedence, and the null case, which is most of what an agent needs. The remaining gap is the return shape of a successful match and the behavior when neither sha256 nor fingerprint is provided alongside the required projectId.

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 coverage is 100%, so the schema already documents all three parameters, and the description adds only the lookup precedence and the meaning of a match. It does not state whether at least one of sha256/fingerprint must be supplied (only projectId is required) or what happens when neither is given, which is the one semantic gap the schema leaves open.

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 ('looks up the project's newest ready build') plus the exact lookup keys (sha256 first, then native fingerprint) and the precise null outcome. An agent can tell this is a dedupe/pre-upload check rather than a general build fetch, distinct from get_build or list_builds.

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 explicit when-to-use guidance: call it to answer 'is this build already uploaded?'. It also prescribes the follow-up action per match type – sha256 match means run it with run_test {buildId} / run_project {buildIds} instead of re-uploading, fingerprint match means CI can skip the build. Nothing is left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.