Skip to main content
Glama
whodb-cli

whodb-cli

Official
by clidey

whodb_platform_edge_runs

Read-onlyIdempotent

List recent edge runs for a function to check status and avoid duplicate runs after timeouts; optionally target a workspace per call without changing defaults.

Instructions

List recent edge runs for a function. Use edge_run to inspect a run again; do not start a duplicate run after a timeout. Accepts workspace {host, org, project} for per-call targeting without changing defaults.

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": {
      "function_id": "<function_id>"
    },
    "name": "whodb_platform_edge_runs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum results or rows; default 20, capped by server max rows
fieldsNoOptional top-level output projection
workspaceNoOptional target for this call only. Omit to use the session default set by whodb_platform_session_use, then process/saved defaults. Discover targets with whodb_platform_hosts, whodb_platform_orgs and whodb_platform_projects.
function_idYesFunction id; required for edge_runs and edge_schedules

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.139.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint, so safety is covered. The description still adds real value by warning against re-running after a timeout and clarifying that the workspace argument is per-call and does not alter defaults. It stops short of describing what the returned run entries contain, which leaves a small gap for a list tool with no output schema.

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 with the core action front-loaded, followed by the alternative-tool routing and then the targeting caveat. No filler or redundant phrasing.

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 four-parameter read-only list tool with full schema coverage and no output schema, the definition covers action, sibling routing, and workspace scoping adequately. It could say a bit more about what recent runs include (status, timestamps, paging) to fully close the loop, but nothing needed to invoke it correctly is missing.

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% and the workspace object's own description already spells out host/org/project fallback order and discovery siblings, so the description mostly restates it. The one added nuance is emphasizing per-call targeting "without changing defaults," which reinforces rather than extends the schema. 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 description opens with a specific verb and resource, "List recent edge runs for a function," and immediately distinguishes itself from the singular sibling by naming whodb_platform_edge_run for individual inspection. An agent can tell the two apart without opening either schema.

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

Usage Guidelines5/5

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

It explicitly routes the agent: use edge_run to inspect a run again, and do not start a duplicate run after a timeout. That is a concrete when-to-use and when-not-to-do-something instruction rather than implied usage.

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