Skip to main content
Glama

Get repository analysis

analysis.get
Read-only

Get lifecycle state, detected roots, evidence, and deployment projections for an authorized immutable 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": {
      "analysis_id": "rna_example"
    },
    "name": "analysis.get"
  }
}

Input Schema

NameRequiredDescriptionDefault
analysis_idYesimmutable analysis snapshot identifier
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.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds two useful behavioral facts beyond the annotations: the analysis is 'authorized' (an auth/permission requirement) and 'immutable' (the snapshot does not change under the caller). It adds nothing about response size, freshness, or failure modes.

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?

One front-loaded sentence with no filler, and the resource is named before the payload list. The comma-separated enumeration of return fields is slightly list-like but still efficient.

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 the description need not explain return values — yet that is where most of its words go. The real gap for a read tool sitting among analysis.query, analysis.source.get and analysis.start is routing: nothing tells the agent which of these to pick. Adequate but with a clear hole.

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% and both parameters are documented in the schema itself (analysis_id as an immutable snapshot identifier, organization_id with its omit-only-if-single-membership rule). The description adds no parameter syntax or constraint beyond echoing the 'immutable analysis' concept, so the baseline of 3 applies.

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?

States a specific verb ('Get') and resource ('analysis') and enumerates the payload the agent receives: lifecycle state, detected roots, evidence, deployment projections. It does not, however, distinguish itself from close siblings such as analysis.query or analysis.source.get, so the agent must infer the boundary from names alone.

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?

The only usage signal is the qualifier 'for an authorized immutable analysis', which implies a precondition (the analysis must exist and be authorized) but never states when to call this versus analysis.query or analysis.source.get. No alternatives, no exclusions, no workflow placement.

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