Skip to main content
Glama

getExecution

Read-only

Get one execution of a function, including its trigger, arguments, response, error and logs. Takes the id or execution_id reported by listExecutions. Requires functionName in format 'username/functionName'.

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": {
      "functionName": "<functionName>",
      "executionId": "<executionId>"
    },
    "name": "getExecution"
  }
}

Input Schema

NameRequiredDescriptionDefault
executionIdYesThe execution's `id` or `execution_id` as reported by listExecutions
functionNameYesThe function identifier in format 'username/functionName' (e.g., 'david/func1')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds the useful point that the identifier comes from listExecutions and warns that functionName must be the qualified 'username/functionName' form. It says nothing about pagination or log truncation, but with annotations carrying the safety burden a 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?

Two sentences, front-loaded with the outcome (what you get back), then the identifier source and format requirement. No filler, and the operational constraint is stated last where it is easy to check before calling.

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 two-parameter read tool with full schema coverage and no output schema, the description covers purpose, return contents, parameter provenance, and the format constraint. The enumerated return fields substitute adequately for a missing output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so a baseline 3 applies, but the description adds real meaning: it explains that executionId accepts either the 'id' or 'execution_id' from another tool's output, and it repeats the required 'username/functionName' format constraint that is easy to miss. This is slight redundancy with the schema but still genuinely useful cross-tool guidance.

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 ('Get one execution of a function') and enumerates exactly what the result contains (trigger, arguments, response, error, logs). This clearly distinguishes it from listExecutions and from executeFunction.

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 routes the agent to listExecutions as the source of the identifier ('Takes the id or execution_id reported by listExecutions'), giving clear prerequisite context. It does not state exclusions or spell out when to prefer a sibling, so it falls short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources