Skip to main content
Glama

dingtalk_approval_pending

Retrieve DingTalk OA approval instances waiting for the current user within a specified time window, so you can see which pending approvals need action.

Instructions

List DingTalk OA approval instances waiting for the current user.

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": {
      "start": "<start>",
      "end": "<end>"
    },
    "name": "dingtalk_approval_pending"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYesISO-8601 window end
limitNo
queryNo
startYesISO-8601 window start

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.1

TDQS

C2.9/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 disclosure burden, and it does little beyond "List": read-only behavior is only implied by the verb, with nothing said about pagination, ordering, whether `limit` caps a single page, whether an empty result means no approvals, or permission requirements. For a tool whose entire value is a filtered feed, that leaves the agent guessing at runtime behavior.

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, and the scope constraint comes early. Its brevity is appropriate, though the sentence is doing so little work that the space saved is not reinvested in useful detail.

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 two of four parameters undocumented, the definition is too thin for a tool that returns a time-windowed, filterable, limitable list. An agent can tell roughly what it fetches but not how to size, filter, or page the request.

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?

Only `start` and `end` carry schema descriptions (50% coverage); `query` and `limit` are undocumented in both schema and description. The description never mentions the time window, what `query` matches (title, applicant, approval type), or how `limit` interacts with paging, so it does not compensate for the coverage gap.

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 gives a specific verb ("List") and resource ("DingTalk OA approval instances") plus a scope qualifier ("waiting for the current user"), which tells an agent this is a pending-approvals inbox rather than a general approval archive. It does not explicitly position itself against the nearby dingtalk_approval_detail tool, so it stops 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?

"Waiting for the current user" implies when the tool applies: the caller has pending approvals to act on. There is no statement of when not to use it, no alternative named for retrieving already-handled or submitted approvals, and no note on whether the window boundaries are mandatory first calls.

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