Skip to main content
Glama

ngrok_api

Query the local ngrok agent API via GET to inspect tunnels, HTTP requests, logs, and diagnostics for agent maintenance.

Instructions

Consulta a API local do agente ngrok (GET), a mesma da interface web

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": {
      "endpoint": "<endpoint>"
    },
    "name": "ngrok_api"
  }
}

Input Schema

NameRequiredDescriptionDefault
endpointYesCaminho na API local do agente (ex: /api/tunnels, /api/requests/http?limit=10)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose three useful behavioral facts: it targets the local agent API, it is GET-only (read-only), and it is the same surface as the web interface. It omits auth requirements, error behavior, and whether the response is JSON, which matters for an unannotated passthrough tool.

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?

A single short sentence with no filler, and the key facts (local API, GET) are front-loaded. It is efficient, though the brevity borders on under-specification given the tool's open-ended nature.

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?

The tool is simple (one fully documented parameter) with no output schema, so the description need not explain return values. However, with no annotations and no guidance on when to use this versus the specialized siblings, the definition is only minimally complete for an unconstrained API passthrough.

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% and the endpoint parameter already documents format with examples like /api/tunnels and /api/requests/http?limit=10. The description adds no meaning beyond the schema, so the baseline 3 applies.

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 (consulta/query) and resource (the local ngrok agent API), and clarifies the HTTP method is GET. An agent understands this is a raw API passthrough, but the description does not distinguish it from the many specialized ngrok siblings.

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

Usage Guidelines2/5

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

No when-to-use or when-not-to-use guidance. It never says to prefer ngrok_list_tunnels, ngrok_status, or ngrok_inspect for common cases, nor that this tool is the escape hatch for endpoints those tools don't cover. The agent must infer its role from the sibling list alone.

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