Skip to main content
Glama

coc__GetDocument

Retrieves details for a custom COC job by document ID, with optional version and job type parameters to inspect the job's configuration or execution definition.

Instructions

[COC] 查询自定义作业详情

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": {
      "document_id": "<document_id>"
    },
    "name": "coc__GetDocument"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionNo作业版本号,示例值v1、v2,不传默认查询最新版本
document_idYes作业uuid
document_typeNo执行的作业类型

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 provided, so the description carries the full burden. It says only that it queries details; it doesn't disclose that omitting version returns the latest version (schema does), whether auth/permissions are needed, or what the returned object contains. For a read tool with no annotations this is thin, though the read nature is implied by '查询'.

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 phrase with zero waste and the resource front-loaded, though the '[COC]' prefix and the brevity leave it under-informative rather than padded. Efficiency is good.

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?

Given three fully documented parameters, no output schema, and an absence of annotations, the description covers the minimum (what it fetches) but omits guidance on version selection defaults, permissions, and error behavior. Adequate but with clear gaps for a detail-fetch tool.

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%, so every parameter (document_id as uuid, version with v1/v2 example and latest-version default, document_type) is documented in the schema itself. The description adds no parameter meaning beyond that, so baseline 3 applies.

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 verb+resource: query custom job/作业 details (查询自定义作业详情). It is distinguishable from siblings like CreateDocument, ExecuteDocument, and GetExecution, though it doesn't explicitly say 'read-only retrieval of one document by uuid' or contrast with ListDocumentAtomics. Clear but no sibling differentiation in the text itself.

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?

No when-to-use guidance, no alternatives named, no prerequisites. The agent must infer from the name that this is the single-record fetch versus List/GetExecution siblings. The schema's version parameter hints at a 'latest by default' behavior but the description doesn't instruct use cases.

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