Skip to main content
Glama

Highland Intel APIs

CORS check

cors-check
Read-only

Sends a GET with an Origin header (and an OPTIONS preflight for non-simple methods, custom headers or credentials) to a public URL and reports the Access-Control-* headers with an allowed/blocked verdict. Returns { url, finalUrl, origin, status, preflight: { status } | null, headers: { acao, acac, acam, acah, vary }, allowed, issues } Price: 2 credits (1 credit = 1 CAD cent) per successful call; input that does not match the schema is rejected before billing.

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) URL. Private, loopback, link-local, metadata and our own hosts are refused.
methodNoMethod the browser call would use; non-simple methods trigger a preflight.GET
originNoOrigin the browser would send, e.g. https://app.example.com.https://example.com
credentialsNoWhether the call sends cookies or auth (credentials: include).
requestHeadersNoRequest header names the call would send (triggers a preflight when non-empty).

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?

With only readOnlyHint given, the description carries real behavioral weight: it discloses that the tool performs live outbound requests, rejects private/loopback/link-local/metadata and own hosts, bills 2 credits per successful call, and does not bill schema-invalid input. That is exactly the kind of cost, safety and eligibility context annotations cannot express.

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?

Front-loads the behavior in the first sentence, then gives return shape and price compactly. Dense but every clause earns its place; the result-shape literal is slightly heavy but useful given no output schema.

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 supplies the exact return object (url, finalUrl, origin, status, preflight, headers, allowed, issues), plus pricing and refusal behavior. An agent has everything needed to call it and interpret the result.

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 description coverage is 100%, so all five parameters are already well documented, including the preflight triggers. The description restates the preflight rule at a high level but adds no format, default or edge-case meaning beyond the schema, which is the expected baseline.

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: sends a GET with an Origin header (plus an OPTIONS preflight when needed) and reports Access-Control-* headers with an allowed/blocked verdict. This is clearly distinguishable from nearby siblings like header-audit, http-status or curl-to-code without opening 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 Guidelines4/5

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

The description makes the usage context clear: it emulates a browser cross-origin call and returns an allowed/blocked verdict, and it explains that non-simple methods, custom headers or credentials trigger a preflight. It does not name when to prefer a sibling such as header-audit or http-status, so no explicit exclusions are given.

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