Skip to main content
Glama

Start repository analysis

analysis.start

Resolve a GitHub ref to an exact commit and start or reuse its immutable semantic repository analysis.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ref": "main",
      "project_id": "project-id",
      "repository_url": "https://github.com/acme/widget"
    },
    "name": "analysis.start"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNobranch, tag, or commit; defaults to the repository default branch
project_idNoproject in the selected organization; omit only when the organization has one project
repository_urlYesGitHub repository URL
organization_idNoorganization membership to use for this call; omit only when the account has one current membership

Output Schema

NameRequiredDescriptionDefault
analysisYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations only cover openWorldHint=false and destructiveHint=false, so the description carries most of the burden. It usefully discloses that the ref is pinned to an exact commit and that an existing analysis is reused rather than duplicated, but says nothing about async/long-running behavior, cost, or auth needs.

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?

A single dense sentence with the core action front-loaded and no filler. Nothing can be trimmed without losing meaning.

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?

An output schema exists, so return values need not be explained, and the immutability/reuse semantics are stated. However, the description omits the workflow context an agent needs — that this is the entry point whose results are consumed by analysis.get/analysis.query — leaving a real gap for a multi-step tool.

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% with four well-documented parameters, so the baseline is 3. The description's mention of 'GitHub ref' loosely maps to the 'ref' parameter but adds no syntax, defaults, or format detail beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb chain ('resolve', 'start or reuse') applied to a well-defined resource ('immutable semantic repository analysis' of a GitHub ref). It is clear what the tool does, though it does not explicitly differentiate itself from siblings like analysis.get or analysis.query.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to use this versus analysis.get or analysis.query, nor any prerequisite guidance (e.g. that this must run before results can be retrieved). The usage is only implied by the name and the word 'start'.

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.

Resources