Skip to main content
Glama

Repolog

run_scan

Start a new scan for a website. An unverified website can scan its domain root (homepage) only; registered pages need domain verification. Returns immediately with a pending scan; poll get_scan or call wait_for_scan for the report.

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": {
      "websiteId": "<websiteId>"
    },
    "name": "run_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathIdNo
websiteIdYesUUID of a website in the workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the disclosure burden and does well on the async contract: it states the call 'Returns immediately with a pending scan' and tells the agent to poll, which prevents the common mistake of expecting an inline report. It omits other behavioral facts such as quota/cost per scan, whether concurrent scans are permitted, or what error surfaces if a path is requested on an unverified site.

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?

Three short sentences, front-loaded with the action, then the constraint, then the return behavior. No filler and no repetition of the tool name or title.

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?

There is no output schema, so the description must explain what comes back — it does so ('pending scan', poll get_scan or call wait_for_scan) — and it covers the targeting preconditions. Remaining gaps are secondary: scan cost/limits and failure modes for an invalid target are not addressed.

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 50%, below the point where the schema can carry parameters alone, and the description does add the verification rule that governs whether a registered page can be targeted. However, it never names websiteId or pathId, so the agent must map the 'domain root vs registered page' distinction onto the two parameters itself, and much of the verification caveat is already restated in the pathId schema description.

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 opens with a specific verb and resource ('Start a new scan for a website') and immediately differentiates itself from the retrieval siblings by naming get_scan and wait_for_scan as the follow-up path. An agent can distinguish this initiation tool from its polling counterparts without inspecting any schema.

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 explicitly states the precondition that selects between scan targets ('An unverified website can scan its domain root (homepage) only; registered pages need domain verification') and names the two concrete alternatives for retrieving results. Both when-to-use and what-to-do-next are spelled out rather than implied.

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.