Skip to main content
Glama

ip_lookup

Retrieve all activity for one client IP—request volume, load balancer/host/path hits, response codes, country/ASN, and WAF, rate-limit, or policy events for troubleshooting and security review.

Instructions

Everything about one client IP: total requests, which load balancers/hosts/paths it hit, response codes, country/ASN, and security events (WAF, rate limit, policy) it triggered.

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": {
      "ip": "<ip>"
    },
    "name": "ip_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipYes
minutesNo
namespaceNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.2/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. It usefully discloses what the response aggregates (including cross-dimension breakdowns and security events), which is real added context. It does not say the call is read-only, that results are bounded by a time window, or anything about volume/cardinality risk for a busy IP.

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 front-loaded sentence that leads with scope and then lists the returned dimensions; no filler or restatement of the name. The dense enumeration is justified because output schema coverage already exists, but it remains the tool's only sentence of guidance.

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?

An output schema exists, so explaining return values isn't strictly required, yet the description leaves the time-window and namespace scoping unaddressed — the two things most likely to cause an incorrect call. Adequate for a simple read lookup, but incomplete on how the query is constrained.

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

Parameters2/5

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

Schema description coverage is 0% across 3 parameters, so the description must compensate and largely does not. It implies the 'ip' argument but says nothing about 'minutes' (default 60), which materially scopes all returned counts, nor about 'namespace' and how it constrains results. Only one of three parameters is indirectly explained.

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+resource ('Everything about one client IP') and enumerates the data returned: request totals, load balancers/hosts/paths, response codes, country/ASN, and security events. That makes the per-IP drill-down shape clear. It never names a sibling (e.g. access_log_search, security_events) to sharpen the boundary, so it stops short of a 5.

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?

Usage is only implied: 'one client IP' suggests investigation of a single client rather than aggregate or search workflows. There is no explicit when-to-use statement, no exclusions, and no pointer to access_log_search or security_events for broader or narrower questions.

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