Skip to main content
Glama

get-code-iq-automated-queries

Returns trimmed Code IQ automated analyses (architecture, scalability, EOL, AI functionality, etc.) for a project (aggregated) or a single vault. Excludes The Code Score — use get-the-code-score for that, and do not pass analysis_key=code_score here (404). Only cached results are returned; this never triggers a fresh analysis. Provide exactly one of project_id or vault_id. Requires full data access (a paid plan; verification-only plans are not included). 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_idNoVault id (from create-code-vault or list_vaults). Returns data for this vault only.
project_idNoProject id (from create_project). Returns data aggregated across all vaults in the project.
analysis_keyNoOptional: return only this analysis (e.g. project_architecture). Omit for all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses that only cached results are returned and a fresh analysis is never triggered, the 404 behavior for code_score, the X-API-Key auth requirement, and the api_key-in-arguments fallback. These are exactly the behavioral traits an agent needs before invoking.

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?

Despite covering many constraints, it is front-loaded with the core purpose and then tightens with routing, caching, and auth in a scannable sequence. Every sentence carries an actionable constraint, so nothing is wasted.

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?

For a read-only analytical tool with no output schema, it adequately describes what the returns contain (trimmed per-analysis results, aggregated or vault-scoped) and fully covers auth, exclusivity, and caching. Nothing an agent needs to call it correctly appears to be 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 baseline is 3, but the description adds meaning beyond the schema: the mutual exclusivity of project_id/vault_id, the semantics of aggregation vs single vault, and the analysis_key restriction to non-code_score values. It stops short of enumerating valid analysis_key values.

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 (Returns) and resource (trimmed Code IQ automated analyses covering architecture, scalability, EOL, AI functionality) with explicit scope (project-aggregated or single vault). It explicitly distinguishes itself from the sibling get-the-code-score by naming the excluded analysis.

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 routing: use get-the-code-score for The Code Score, and do not pass analysis_key=code_score here. It states the exactly-one-of project_id/vault_id constraint and the plan/access prerequisites (full data access, paid plan, verification-only excluded), leaving little 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.