Skip to main content
Glama

IP 归属地查询任务状态

ip-lookup-status

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-status"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskIdYes

Output Schema

NameRequiredDescriptionDefault
stateYes
taskIdYes
errorCodeNo
expiresAtYes
resultUrlYes
statusUrlYes
retryAfterSecondsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior4/5

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

With zero annotations the description carries the full load, and it does disclose a lot: per-day free quota of 10, 1 credit per call afterwards, API key requirement, reserved-quota creation, possible charge on first full-result claim, free repeat claims, and free status queries. Missing only the semantics of the states returned (pending/failed/completed) and behavior for an unknown or expired taskId.

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?

Four dense sentences, front-loaded, with no filler beyond the opening sentence which merely restates the title verbatim. Billing and idempotency facts are packed efficiently, though the sentence about requestId could be tightened to name taskId explicitly.

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 return values need not be explained, and the cost model is well covered. What is missing for a status-polling tool is the lifecycle context: how the taskId is obtained, what to do between polls, and when to switch to ip-lookup-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 0% for the single taskId parameter, so the description must compensate; it partially does by mentioning a UUIDv7 identifier that stays stable across HTTP/MCP retries, which conveys idempotency and format. The problem is that it calls this identifier 'requestId' while the schema parameter is 'taskId', leaving ambiguity about whether they are the same value.

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 first sentence names a specific verb+resource (query the task status of an IP 归属地 lookup), so an agent knows this is a polling/status check rather than the lookup itself. However, it never distinguishes itself from the sibling ip-lookup-result, which is the operation an agent is most likely to confuse it with.

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?

There is no explicit statement of when to use this tool versus ip-lookup or ip-lookup-result, and no stated prerequisite such as 'call this with the taskId returned by ip-lookup'. The only usable hint is '状态查询不收费', which implies polling is free, but the workflow relationship is left entirely to inference.

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