Skip to main content
Glama

Hackbait

Get a scan job

get_scan_job
Read-onlyIdempotent

Look up a Hackbait Vulnerability Scan by the job identifier returned from vulnerability_scan. Use this when the person asks whether a scan is done, or when you have a job_id and need the report. If the job is still queued or running, return the current status and do not invent a grade or findings; say the account owner is emailed when it finishes, and check again later. If it is done, return the grade when one exists, a short list of top issues, how-to-fix steps for those issues, and the report link. If it is failed, say the credit was returned automatically when that happened, and do not retry unless the person asks. Do not use this for a new scan (call surface_scan or vulnerability_scan). Do not use this to change the site.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "job_id": "<job_id>"
    },
    "name": "get_scan_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesThe job identifier returned when the Vulnerability Scan was started, for example `aps_` followed by 20 hex characters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, and the description does not contradict them. It goes well beyond them by disclosing per-state behavior: return status without inventing grade for queued/running, surface grade/issues/fix steps/report link when done, report the automatic credit return on failure, and avoid retrying unless asked. It stops short of describing the exact response shape, which is why it is not a 5.

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 purpose is front-loaded in the first sentence, then each subsequent sentence covers one concrete case (queued/running, done, failed) or one exclusion. No filler or restated title text; every sentence changes what the agent would do.

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?

There is no output schema, and the description compensates by spelling out what to return in each terminal state, including grade, top issues, fix steps, and report link. For a single-parameter read tool, an agent has everything it needs to call it and to report results correctly.

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 coverage is 100% and the schema already documents the `job_id` format ('aps_' plus 20 hex characters). The description only adds provenance, that the id is returned from `vulnerability_scan`, so the baseline of 3 is appropriate rather than a higher score.

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 and resource ('Look up a Hackbait Vulnerability Scan by the job identifier') and immediately names where the identifier comes from. It also explicitly separates itself from `surface_scan` and `vulnerability_scan`, so an agent can pick the right tool without opening sibling schemas.

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 when-to-use ('person asks whether a scan is done', 'you have a job_id and need the report') and explicit when-not-to-use ('Do not use this for a new scan', 'Do not use this to change the site'), naming the alternative tools. Nothing about selection is left 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.