Skip to main content
Glama

analyze_report

Queue AI analysis of a scanned report and monitor progress until completion or failure. Pass report file to inject credentials when status is waiting_client.

Instructions

Submit or advance async AI analysis for a previously uploaded report. Call once after a scan to queue analysis, then call again periodically until ai_analysis_status is 'complete' or 'failed'. Pass report_file when the status is 'waiting_client' so real credentials can be injected into the HTTP validator requests.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
report_uuidYesUUID returned by a scan_* tool or a previous analyze_report call
n0s1_api_keyNon0s1 API key; overrides the N0S1_TOKEN env var
report_fileNoPath to local report JSON file — required when status is 'waiting_client'
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses async behavior, polling requirement, and status-based parameter usage. Lacks mention of rate limits or timeouts, but adds value over raw schema.

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?

Two sentences, no filler. Front-loaded with purpose, then conditional logic. Every sentence earns its place.

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?

Covers usage well for an async polling tool, but lacks details on return format or status fields. Given no output schema, a bit more on expected response would improve completeness.

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%, baseline 3. Description adds context: explains when report_file is required and that n0s1_api_key overrides env var. This goes beyond schema descriptions.

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?

The description clearly states the tool submits or advances async AI analysis for a report, with specific verbs 'submit' and 'advance'. It distinguishes from sibling scan_* tools by focusing on analysis rather than scanning.

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?

Explicit guidance on when to call (after scan, then periodically until status is complete/failed) and when to pass report_file (when status is 'waiting_client'). No confusion with sibling tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/spark1security/n0s1-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server