Skip to main content
Glama

gate

Scan skills, MCP server configs, or content with CertBeforePay to detect scam or lookalike risk before signing an x402 payment.

Instructions

Scan a skill, skills, an MCP server config or content with CertBeforePay POST /v1/gate. Paid: $0.02 in USDC on Base via x402 from your key.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "gate"
  }
}

Input Schema

NameRequiredDescriptionDefault
mcpNoAn MCP server config
skillNoOne skill (string or object)
skillsNoSeveral skills
contentNoFree-form content to scan

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose the crucial trait of this tool that it is a paid call ($0.02 USDC on Base via x402 drawn from your key). It omits other important behavior: that content is transmitted to a third-party service, what happens if payment or the scan fails, and whether the call is idempotent or rate-limited.

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?

Two compact sentences, front-loaded with the action and its targets, followed by the payment terms. The endpoint identifier is informational rather than wasteful. It gets slightly terse in places; for example, it omits what the gate actually returns.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a paid, unannotated tool with no output schema, the description should still say what a successful scan produces (a pass/fail verdict) and what paying buys you. It covers cost and inputs but leaves the outcome and failure modes of the gate entirely unexplained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline would be 3. The description nevertheless maps each named scan target onto the corresponding parameter (skill, skills, mcp, content), reinforcing which property to populate and showing they are alternatives rather than something to combine, which adds a small amount of value over the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (scan) and enumerates the four resources it accepts (a skill, skills, an MCP server config, free-form content), plus names the backing endpoint CertBeforePay POST /v1/gate. It is clear what the tool does, though it does not differentiate itself from the siblings peer_challenge and wallet_check.

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

Usage Guidelines3/5

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

The listing of scan targets implies which input to supply for each scenario, but there is no explicit when-to-use or when-not-to-use guidance, no mention of when to prefer peer_challenge or wallet_check, and no statement of prerequisites such as needing a funded key or a passing verdict.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools