Skip to main content
Glama

Get task runs queued count

render_get_task_runs_queued
Read-onlyIdempotent

Retrieve the total number of queued task runs for one or more tasks within a specified time range, enabling monitoring of task queue backlog.

Instructions

Get task runs queued count. Get the total number of task runs queued for one or more tasks. Calls GET /metrics/task-runs-queued on the Render Public API.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endTimeNoEpoch/Unix timestamp of end of time range to return. Defaults to `now()`.
resourceNoTask ID to query. When multiple task IDs are provided, they are ORed together
startTimeNoEpoch/Unix timestamp of start of time range to return. Defaults to `now() - 1 hour`.
resolutionSecondsNoThe resolution of the returned data
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so the description adds the endpoint and return type (count) but not additional behavioral traits like auth requirements or rate limits. With annotations covering safety, a score of 3 is appropriate.

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?

The description is two sentences, front-loaded with the main purpose, and includes the API call. Every sentence adds value with no redundancy or fluff.

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?

Given no output schema, the description explains the purpose and endpoint but does not detail the return format. The schema covers parameters well. The description is fairly complete but could mention that the result is a count or array.

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%, with all four parameters having descriptions. The description does not add further meaning beyond the schema, so baseline 3 is appropriate.

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?

The title 'Get task runs queued count' and description clearly state the verb 'Get', the resource 'task runs queued count', and scope 'for one or more tasks'. It also mentions the API endpoint, distinguishing it from siblings like render_get_task_runs_completed and render_list_task_runs.

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 description does not explicitly guide when to use this tool versus alternatives like render_list_task_runs or render_get_task_runs_completed. No when-not-to-use or alternative tool names are provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/LuSrodri/render-useful-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server