Skip to main content
Glama

Pending tasks

acs_tasks
Read-onlyIdempotent

List queued ACS tasks to see which operations are waiting for devices to connect; use it to spot offline or unreachable devices from a growing backlog.

Instructions

List queued ACS tasks (GET /tasks): operations waiting for a device to connect. A growing backlog on one device often means it is offline or unreachable. Read-only: tasks can not be created or deleted here.

Input Schema

NameRequiredDescriptionDefault
skipNoRows to skip, for paging. Use `total` in the result to know how many exist.
sortNoSort as JSON, e.g. {"_lastInform":-1}.
limitNoRows to return (default and maximum come from the server configuration).
queryNoGenieACS query as a JSON object (or JSON string), e.g. {"_id":{"$regex":"ZTE"}} or {"_lastInform":{"$gt":"2026-10-15T00:00:00Z"}}. Operators: $eq $ne $in $nin $gt $gte $lt $lte $exists $and $or $regex.
device_idNoOnly entries of this device `_id`.
projectionNoComma separated parameter paths to return, e.g. "_id,_lastInform,InternetGatewayDevice.DeviceInfo.SerialNumber". Strongly recommended: a full device document can be hundreds of KB.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint, and the description reinforces this correctly rather than contradicting it ('tasks can not be created or deleted here'). It adds genuine operational value with the backlog-means-offline interpretation, but says nothing about pagination behavior or how large the backing collection typically is.

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

Conciseness5/5

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

Three short sentences, front-loaded with the verb and resource, then the diagnostic insight, then the safety scoping. No redundant or filler text.

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 six-parameter, fully documented read-only list tool with no output schema, the description covers purpose, safety, and interpretation. The only real gap is that it does not set expectations about return volume or that paging is needed for large backlogs.

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%, including paging, sort, query operators, and the projection warning, so the schema carries the parameter burden. The description adds no parameter-level meaning beyond what the schema already provides; baseline 3 applies.

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

Purpose5/5

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

States a specific verb and resource ('List queued ACS tasks') plus the underlying endpoint GET /tasks, and defines what a queued task is (an operation waiting for a device to connect). An agent can immediately distinguish this from acs_devices or acs_faults.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear diagnostic context: a growing backlog on one device often signals it is offline or unreachable, which tells the agent when this tool is informative. It lacks an explicit 'use acs_device instead when...' routing statement relative to the sibling read tools, so it stops short of full alternative guidance.

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