Skip to main content
Glama

Scan an app for security and health problems

scan_app
Read-onlyIdempotent

Runs the free AI App Medic scan on a public website or app URL and returns a score, a grade and a list of findings, each with severity, a plain-language explanation and fix steps. Checks security headers, HTTPS, public JavaScript for exposed API keys, Supabase database exposure, source maps, SEO basics, performance and broken homepage links. The scan is passive and public only: it makes the same requests a visitor's browser makes. It does not log in, submit forms, guess passwords or run attacks, and it does not change anything on the site. Suitable for any public URL, including the user's own app or a public site they are evaluating. Sensitive findings (key values, database table names, row counts, source map URLs) are hidden unless the site owner verifies ownership; the result explains how. Takes 5 to 40 seconds. Use when the user asks to scan an app, check whether a public site is secure, or get a health check of a deployed URL.

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": {
      "url": "<url>"
    },
    "name": "scan_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesAddress of the public website or app to scan, for example https://my-app.lovable.app. Any public URL is accepted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare read-only, open-world, idempotent and non-destructive, yet the description still adds substantive behavior: passive/public-only request profile, no login, no form submission, no password guessing, no attacks, no site mutation, a 5–40 second runtime, and ownership-gated redaction of sensitive findings with an explanation of how to unlock them. These are operational details an agent could not infer from the hints alone.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is front-loaded with purpose and returns, then constraints, then timing, then triggers — a logical order with no filler. It is dense, however: the check-category list and the passive-scope sentence are both long enumerations, and the 5–40 second note could sit next to the scope limits rather than mid-paragraph.

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?

With no output schema, the description carries the full burden of describing results and does so precisely: score, grade, and findings with severity, plain-language explanation and fix steps, plus how redacted sensitive findings are surfaced. Runtime expectations, safety limits, and applicability are all covered, leaving nothing an agent needs before calling the tool.

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?

There is a single parameter at 100% schema description coverage, and the schema already supplies the example URL and states "Any public URL is accepted." The description reinforces the public-only constraint (unauthenticated, visitor-equivalent requests) but adds no new syntax, format, or validation detail beyond what the schema documents, so the baseline 3 is appropriate.

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 ("Runs the free AI App Medic scan on a public website or app URL") and enumerates the return payload (score, grade, findings with severity, explanation, fix steps). It also names the concrete check categories — headers, HTTPS, JS API keys, Supabase exposure, source maps, SEO, performance, broken links — so an agent knows exactly what the tool produces.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The final sentence gives explicit triggers ("scan an app, check whether a public site is secure, or get a health check of a deployed URL") and the body states the applicability boundary ("any public URL, including the user's own app or a public site they are evaluating"). It does not route the agent away from the sibling tools check_exposed_keys or explain_finding, so the alternative-selection dimension is unspecified, but the when-to-use guidance for this tool itself is clear.

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