Skip to main content
Glama

IP 归属地查询领取结果

ip-lookup-result

IP 归属地查询领取结果。超出每日 10 次免费后,1 分/次。使用 API key;创建预留额度,首次领取完整结果可能收费,重复领取免费。UUIDv7 requestId 在 HTTP/MCP 重试间保持一致;状态查询不收费。

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": {
      "taskId": "<taskId>"
    },
    "name": "ip-lookup-result"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskIdYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses the API-key requirement, the free-tier limit and per-call price, that quota is reserved up front, that the first full-result claim may be billed while repeat claims are free, and that identifier consistency across HTTP/MCP retries prevents double charging. What it omits is failure behavior — what happens if the task is still running, unknown, or expired.

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 text is compact and front-loaded with the purpose before moving to pricing and idempotency, and no sentence is pure filler. It is telegraphic and packs billing, auth, and retry semantics into a few clauses, which is efficient but slightly scattershot in ordering.

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 one-parameter retrieval tool with an output schema already documenting the return shape, the description covers the commercially important behavior well (cost, quota, idempotency). It is still incomplete on two points an agent needs: the provenance of taskId and what to do when the result is not yet available.

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?

The single taskId parameter has 0% schema description coverage, so the description must compensate, and it only partially does. It explains that a UUIDv7 identifier must stay stable across retries, but it calls that identifier 'requestId' while the schema names it 'taskId', leaving the agent to guess whether these are the same value and where the taskId originates (presumably from ip-lookup).

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?

The description states a specific action on a specific resource: claiming/retrieving the full result of an IP geolocation lookup task. It implicitly distinguishes itself from the status sibling by noting that '状态查询不收费' (status queries are not charged), signaling a separate polling tool. It stops short of saying explicitly 'given a taskId from ip-lookup, fetch its completed result', so the boundary is inferable rather than stated.

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 description gives cost-driven guidance (10 free calls per day, then 1 credit per call; status queries free) and retry guidance (reuse the same identifier across HTTP/MCP retries, repeat claims are free), which steers behavior usefully. However it never says plainly when to call this instead of ip-lookup-status, nor that the task must be complete first — the agent must infer that from the free-status remark.

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