Skip to main content
Glama

Refix

Get investigation

refix_get_investigation
Read-onlyIdempotent

Read the state of an investigation started with refix_investigate. While it is queued or running, this call waits up to 25 seconds for the state to change, so call it again right away until it finishes. Never starts or reruns analysis. When the state is needs_input, ask the user pending_input.question and send their answer with refix_investigate and response_to_input_id.

Input Schema

NameRequiredDescriptionDefault
investigation_idYes

Output Schema

NameRequiredDescriptionDefault
stateYes
answerYes
questionYes
error_codeYes
report_urlYes
session_idYes
pending_inputYes
investigation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, the description discloses the blocking wait behavior, the polling loop, that it never starts or reruns analysis, and the human-in-the-loop needs_input workflow. These are important operational traits an agent could not infer from the annotations alone.

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 four tightly written sentences, front-loaded with the core purpose and immediately followed by the polling and needs_input behaviors. Every sentence carries useful operational information.

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?

The output schema already describes return values, and the annotations cover safety. The description adds the missing async polling and needs_input workflow context, making the definition complete for correct invocation.

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?

The schema has 0% description coverage and the single parameter, investigation_id, is not explicitly defined in the description. The phrase 'investigation started with refix_investigate' implies where the ID comes from, but the description does not directly state that investigation_id is the ID returned by refix_investigate or give format details.

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 gives a specific verb and resource: reading the state of an investigation started with refix_investigate. It also explicitly distinguishes this from the sibling start/rerun tool by saying it never starts or reruns 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?

It states exactly when to call repeatedly: while queued or running, the call waits up to 25 seconds for a state change, so call it again until it finishes. It also gives explicit handling for the needs_input state, including asking the user and submitting the answer through refix_investigate.

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