Skip to main content
Glama

dingtalk_approval_detail

Retrieve a single DingTalk OA approval instance by its instance ID to inspect approval status, form data, and workflow details.

Instructions

Fetch one DingTalk OA approval instance by instanceId.

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": {
      "instanceId": "<instanceId>"
    },
    "name": "dingtalk_approval_detail"
  }
}

Input Schema

NameRequiredDescriptionDefault
instanceIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.1

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. 'Fetch' implies a read, but it says nothing about required permissions/scopes, behavior on an unknown or malformed instanceId, or whether the instance must be in a particular status — all relevant for an approval-instance lookup.

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 front-loaded sentence with no filler or redundancy. It is efficient, though the brevity borders on under-specification rather than being genuinely concise.

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?

With no annotations, no output schema, and an undocumented parameter, the description should say more about what the returned instance contains and what happens on failure. For a simple get-by-id tool the gap is not severe, but the definition leaves an agent guessing about result shape and error cases.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must supply meaning for instanceId, and it only restates that the instance is retrieved 'by instanceId'. It gives no format, where an agent obtains the ID, or whether it accepts an approval code versus process-instance ID.

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?

Specific verb ('Fetch') plus specific resource ('one DingTalk OA approval instance') with the lookup key named, which distinguishes it from a listing tool like dingtalk_approval_pending. It stops short of explicitly stating the contrast with the 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?

The only implicit guidance is that you must already have an instanceId; there is no statement of when to use this versus dingtalk_approval_pending, no prerequisites, and no exclusions. An agent must infer the workflow from the parameter name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.