Skip to main content
Glama

ds_jobs

Lists recent OCR scan jobs from local read-only records without sending requests, ordering dated jobs newest first and placing corrupt or undated entries last.

Instructions

任务查询工具:列出近期扫描件任务;只读本地、不发请求。有日期的按创建时间倒序,损坏/无日期排最后(按 job_id 升序)。limit 取值 1–50、默认 20,超出会在本地打回;data.count 是全部任务数,data.returned 是本次返回条数(可能小于 count:limit 或输出预算);损坏记录的 data.jobs[].status 为 corrupt。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ds_jobs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior5/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 so well: it declares read-only/local/no-network behavior, defines deterministic ordering (creation time desc, corrupt or undated last by ascending job_id), states that out-of-range limit is rejected locally, and explains the semantics of corrupt records via data.jobs[].status. That is behavior beyond anything a schema could express.

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 dense, front-loaded block: purpose first, then ordering, then limit behavior, then return-value semantics. Every clause earns its place, but the run-on semicolon chain makes it harder to scan than it needs to be.

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

Completeness4/5

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

For a one-parameter, no-annotation, no-output-schema tool this is close to complete, and it compensates for the absent output schema by explaining data.count, data.returned, and the corrupt status value. The main unresolved gap is that 'recent' is never defined, and since there is no date filter parameter the agent cannot tell what window it actually gets.

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

Parameters4/5

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

Schema coverage is 0% in prose, but the schema itself encodes type, default 20, min 1, and max 50. The description restates the range and adds genuinely new meaning: values outside 1–50 are rejected locally rather than clamped or forwarded. It stops short of 5 because it adds no other nuance about the sole parameter.

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 and resource: lists recent scan jobs, read-only local, no network requests. The agent can tell this is a listing tool rather than a single-job fetch, but the description never names a sibling (e.g. ds_job) to sharpen the boundary, so it falls 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 implied by 'task query tool that lists recent scan jobs' — you would call it to enumerate recent jobs. There is no explicit when-to-use, when-not-to-use, or 'for a single job use ds_job instead' routing, so guidance stays at the inferred level.

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