Skip to main content
Glama

Get function

get_function
Idempotent

Retrieve a Firecracker Function's code, configuration, and webhook details by function ID to inspect or edit it; OAuth reads redact environment values and webhook secrets.

Instructions

Get one Firecracker Function with code, config, and webhook details. OAuth reads redact environment values and webhook secrets; omit those fields during unrelated edits.

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

Input Schema

NameRequiredDescriptionDefault
function_idYesFunction ID from list_functions

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.16

TDQS

A3.7/5.0
Behavior4/5

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

Discloses behavior the annotations do not: reads performed under OAuth redact environment values and webhook secrets, and those redacted fields should be omitted on unrelated updates. That is meaningful operator-facing context. Minor tension: annotations declare readOnlyHint=false while the description frames this as a pure 'get', which is worth noting but is not an outright contradiction of the stated behavior.

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

Conciseness4/5

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

Two compact sentences, with the purpose front-loaded before the caveat. The second sentence is dense and slightly ambiguous ('omit those fields during unrelated edits') but every clause carries information; nothing is padded.

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?

There is no output schema, so the description must characterize the return payload, and it does ('code, config, and webhook details') plus the redaction caveat that changes what an agent actually receives. For a single-parameter read tool this is close to sufficient, though error/not-found behavior is unaddressed.

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?

Single parameter with 100% schema description coverage ('Function ID from list_functions'), so the schema already carries the semantics. The description adds nothing about parameter format or source, which yields the baseline 3 for a fully documented schema.

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

Purpose4/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 Firecracker Function') and enumerates what comes back (code, config, webhook details), which goes beyond the name/title tautology. The word 'one' distinguishes it from the bulk `list_functions`, but no sibling such as `get_function_invocation` or `get_function_history` is named, so differentiation is left partly implicit.

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

Usage Guidelines3/5

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

The redaction sentence implies a workflow ('omit those fields during unrelated edits'), which is a genuine usage instruction. However, there is no explicit statement of when to call this versus `list_functions` / `get_function_invocation`, nor of prerequisites (e.g., a valid function_id from list_functions beyond what the schema already says).

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