Skip to main content
Glama

List function invocations

list_function_invocations
Read-onlyIdempotent

Retrieve the latest 50 Firecracker Function invocations with status, duration, and cost to monitor recent runs; use the history tool for older executions and pagination.

Instructions

List the latest 50 invocations of a Firecracker Function with status, duration, and cost. Use list_function_history for older runs and pagination.

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": "list_function_invocations"
  }
}

Input Schema

NameRequiredDescriptionDefault
function_idYesFunction ID from list_functions

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.16

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, so safety is covered. The description adds genuinely new behavioral context: the result is capped at the latest 50 and what each entry contains (status, duration, cost). It doesn't state ordering guarantees or rate limits, but the 50-cap is the important disclosure.

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?

Two tight sentences with zero filler; the scope and returned fields come first, the alternative-tool routing second. Every clause earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read with full annotation coverage and no output schema, the description supplies the missing pieces: the 50-item limit, the fields returned, and where to go for older/paginated data. Nothing an agent needs to invoke it correctly is absent.

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% ('Function ID from list_functions'), so the single parameter is fully documented in structured data. The description adds no syntax or format detail beyond that, which is the expected baseline when the schema carries the load.

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 (List) plus resource (function invocations), scopes it ('latest 50 of a Firecracker Function') and enumerates the fields returned (status, duration, cost). This clearly separates it from list_function_history and get_function_invocation without needing the schema.

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?

Explicitly names the alternative for a specific condition: 'Use list_function_history for older runs and pagination.' That is real routing guidance. It falls short of 5 only because it doesn't mention get_function_invocation for drilling into a single invocation.

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