Skip to main content
Glama

sa__ListPlaybookApproves

List approval records for playbooks or AOP workflows in a Huawei Cloud project and workspace, filtered by resource ID or approval type.

Instructions

[SA] List approves.

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": {
      "project_id": "<project_id>",
      "workspace_id": "<workspace_id>"
    },
    "name": "sa__ListPlaybookApproves"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesID of project
resource_idNoResource Id, PlaybookId or AopworkflowId
approve_typeNoPLAYBOOK, AOP_WORKFLOW
workspace_idYesID of workspace

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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 and it discharges almost none of it. "List" weakly implies a read-only enumeration, but there is nothing about permissions, filtering behavior, pagination, or result shape for a four-parameter listing call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The text is three words long, which is under-specification rather than concision, and the "[SA]" prefix is pure noise. There is no front-loaded statement of scope or return content.

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?

The rich schema offsets much of the deficiency: an agent can infer it lists approvals scoped by project/workspace and optionally filtered by resource and approve_type. With no annotations and no output schema, however, the description leaves the operation's behavior and result format entirely unstated.

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 coverage is 100%, with project_id, workspace_id, resource_id, and approve_type all documented inline, including the PLAYBOOK/AOP_WORKFLOW meaning of approve_type. The description adds no meaning beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"List approves" gives a verb plus an ambiguous noun; it is readable as listing approval records, but "approves" is awkward and could be read as an action rather than a resource. Nothing distinguishes it from the many sibling List/Show tools for playbooks, so an agent has to guess that this concerns playbook approval records.

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 guidance on when to use this versus sibling tools such as ListPlaybookActions or CreatePlaybookApprove, nor any note on required context or preconditions. The bracketed "[SA]" prefix conveys nothing actionable.

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