Skip to main content
Glama

cfw__ListJob

Retrieves the execution status of a Cloud Firewall (CFW) job by job ID and project ID, helping track asynchronous firewall creation or operation progress.

Instructions

[CFW] 获取CFW任务执行状态

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": {
      "job_id": "<job_id>",
      "project_id": "<project_id>"
    },
    "name": "cfw__ListJob"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes创建按需防火墙返回的任务ID,可通过调用[创建防火墙接口](CreateFirewall.xml)返回值获得。返回值中job_id即为此处的job_id
project_idYes项目ID, 可以从调API处获取,也可以从控制台获取。[项目ID获取方式](cfw_02_0015.xml)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, yet it says nothing beyond the surface verb. It does not mention polling/interval expectations, job-state lifecycle or expiry, whether the call is read-only, or what a returned status looks like — for a status-check tool these are exactly the details an agent needs.

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 clause with no filler and the key noun front-loaded; there is nothing to trim. Its brevity is efficient rather than padded, though the terseness contributes to the gaps scored elsewhere.

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

Completeness2/5

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

For a two-required-param read tool with no output schema and no annotations, the description should explain that it returns job execution status and how to use that result (e.g. poll until complete). It omits all of this, leaving the agent to guess the polling contract and possible status values.

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 both parameters (job_id, project_id) are documented in detail, including where the job_id originates. The description adds no parameter meaning beyond that, so the baseline 3 is appropriate.

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 pairs a specific verb (获取, 'get') with a specific resource (CFW 任务执行状态, 'CFW job execution status'), which is enough for an agent to distinguish a job-status poll from the many cfw__List* listing tools. It stops short of explicitly naming how it differs from any sibling, so it is clear but not fully differentiated.

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 when-to-use guidance at all: nothing says this should be called after CreateFirewall, whether it should be polled until a terminal state, or how it relates to any alternative. The only usage hint lives in the job_id schema field, not in the description.

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