Skip to main content
Glama

get-code-vault-results

Returns analysis results for a vault. Free-tier teams receive summary-only results; paid teams receive full facet data and AI insights. Analysis is async; if status is 'processing', poll with exponential backoff (5s, 10s, 20s, 40s, max 60s). Analysis can be as quick as 20-30 minutes for under 500,000 lines of code. Larger codebases can take much longer, especially with the security scan. Facet meanings are documented in resources://docs/facets; AI Quotient is a code-quality metric (not AI-generated code). AI insights can take a few minutes after analysis completes; if ai_insights is empty, poll again and check ai_insights_status per facet (ready/processing/not_available). This endpoint always returns the latest version only; once reanalysis starts, prior versions are no longer accessible here. Requires X-API-Key (existing users can generate an API key in the web app). If headers aren't supported, pass api_key in arguments.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNoOptional API key for clients that cannot set X-API-Key headers.
vault_idYesVault id (from create-code-vault or list_vaults).

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It thoroughly documents async behavior, tier differences, polling timing, latest-version-only semantics, authentication requirements, and the delayed availability of AI insights. This goes well beyond a minimal description.

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?

The description is long but every sentence earns its place: polling behavior, tier differences, timing expectations, status semantics, authentication, and API key fallback are all actionable. It is front-loaded with the core purpose and then layers crucial operational details without redundancy.

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?

Given the complexity of async analysis, no output schema, and no annotations, the description is remarkably complete. It tells the agent how to poll, what to expect for free vs paid tiers, how to handle missing AI insights, what happens when reanalysis starts, and how to authenticate. No critical calling information 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 100%, so the parameters are already documented. The description adds meaningful context by clarifying that api_key is a fallback for clients that cannot set X-API-Key headers, and it ties vault_id to create-code-vault or list_vaults, which helps the agent source valid values.

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?

The description opens with a specific verb and resource: 'Returns analysis results for a vault.' While it clearly identifies the tool's function, it does not explicitly contrast itself with sibling tools like get-code-vault-summary or get-code-vault-reports, so some ambiguity about exactly which result type this returns remains.

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

Usage Guidelines4/5

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

The description provides strong usage context: it explains that analysis is async, gives an explicit polling schedule with exponential backoff, and tells the agent what to do when status is 'processing' or when ai_insights is empty. It does not name alternative tools or state when not to use this tool, but the guidance is clear enough for correct invocation.

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.

TDQS

A3.7/5.0
Disambiguation3/5

Tools are mostly distinct by resource and action, but the three get-code-vault-* variants (summary, results, reports) plus get_vault create a cluster of similar-sounding retrieval tools. The use of both 'vault' and 'code-vault' in names increases the chance of misselection, though descriptions do clarify the differences.

Naming Consistency2/5

Naming convention is inconsistent: snake_case (create_account, get_vault, list_projects) is mixed with kebab-case (create-code-vault, get-code-vault-summary, reanalyze-code-vault). The same concept is referred to as 'vault' and 'code-vault' across tool names, breaking predictability.

Tool Count4/5

At 16 tools, the server is slightly over the ideal 3-15 range but still reasonable for the domain covering accounts, projects, vaults, and analysis retrieval. The count is justified by the distinct resources and operations, though a few vault-related tools could potentially be consolidated.

Completeness4/5

The server provides solid lifecycle coverage: account create/get/delete, project CRUD (minus update), vault create/read/delete/reanalyze, plus API key rotation. Minor gaps exist, such as no update methods for accounts or projects, but the core workflows are well-supported without dead ends.