Skip to main content
Glama

waitForFunctionDeployment

Read-only

Wait for a function deployment to complete. Uses PubSub integration for real-time updates with 30-second timeout. Returns immediately if not currently deploying.

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>"
    },
    "name": "waitForFunctionDeployment"
  }
}

Input Schema

NameRequiredDescriptionDefault
functionNameYesThe function identifier in format 'username/functionName' (e.g., 'david/func1')
timeoutSecondsNoTimeout in seconds (currently fixed at 30s on server)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and non-destructive, so the safety profile is covered. The description adds real behavioral context beyond that: PubSub-driven real-time updates, a bounded 30-second wait, and the immediate-return short-circuit. It omits what a timeout or failure means for the caller's state.

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?

Three short sentences with the core action front-loaded and no filler. The PubSub implementation detail is arguably unnecessary for an agent deciding how to call the tool, keeping it just short of a 5.

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

Completeness3/5

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

This is a blocking wait tool with no output schema, so the description is the only place that could state what it returns — success/failure, final deployment status, or a timeout indicator. It describes the waiting behavior but not the result the agent will receive, which is a meaningful gap.

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%, so both parameters are already documented, including the 'username/functionName' format. The description restates the 30-second timeout rather than adding new meaning, so baseline 3 applies.

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 ('Wait for a function deployment to complete') and clarifies the blocking semantics versus a simple status read. It does not explicitly name checkDeployment as the non-blocking alternative, so the differentiation is implied by 'wait' rather than stated.

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?

'Returns immediately if not currently deploying' implies a usage pattern (polling-avoidance, safe to call anytime), but there is no explicit when-to-use/when-not guidance and no named alternative such as checkDeployment for agents that want a one-shot status read.

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