Skip to main content
Glama

workspaces.leases.approve

Approve a pending lease intent under the caller's governor authority. Send an Idempotency-Key HTTP header for this mutation.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "workspaces.leases.approve"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoSupply intentId. Optional fields include proofLevel, txRef, and leaseDurationMs.
queryNoOmit unless the REST route documents query filters.
pathParamsNoValues for the route parameters: slug.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / body / description
      Added value: +"Supply intentId. Optional fields include proofLevel, txRef, and leaseDurationMs."
    • addedInput schema / properties / pathParams / description
      Added value: +"Values for the route parameters: slug."
    • addedInput schema / properties / query / description
      Added value: +"Omit unless the REST route documents query filters."
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, so the bar is low, and the description adds real operational context beyond that: this is a mutation requiring an Idempotency-Key header and governor-level authority. It does not disclose what happens on a non-pending intent, on missing authority, or whether approval is reversible.

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, no filler, with the core action front-loaded and the operational constraint (Idempotency-Key) placed immediately after. Every clause carries information an agent needs.

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?

Covers the action, precondition, and idempotency requirement for a mutation with no output schema, which is adequate. However, with no return schema the description should say what a successful approval produces (lease state transition) and what failure modes look like; that gap is unfilled.

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 schema already documents intentId plus the optional proofLevel/txRef/leaseDurationMs fields, so the baseline of 3 applies. The description adds no parameter-level detail at all — it mentions the Idempotency-Key header, which is not one of the three modeled parameters.

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 ('Approve a pending lease intent') plus a scoping condition ('under the caller's governor authority'), which is enough to separate it from request/revoke siblings by verb alone. It never names those siblings explicitly, so differentiation is inferred 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 Guidelines4/5

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

Gives clear context for use: the intent must be pending and the caller must hold governor authority. It stops short of explicit exclusions or naming an alternative tool for the non-approval paths (request, revoke).

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