Skip to main content
Glama

preview_takeoff_sheets

Read-onlyIdempotent

Preview chosen sheets and estimated credit usage before an AI takeoff, confirming where quantities will land and the remaining credit balance.

Instructions

Before AI takeoff, preview the selected sheets and estimated credits. The reply includes estimated_credits and credits_remaining. Selecting or writing sheets does not charge; each AI provider call consumes fractional credits, including rereads. The selection limits which sheets the turn may write. Tool calls may use additional credits. metered:false identifies a self-hosted workspace. Relay a credit refusal and Billing link; do not retry.

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": {
      "project_id": "<project_id>",
      "sheets": "<sheets>"
    },
    "name": "preview_takeoff_sheets"
  }
}

Input Schema

NameRequiredDescriptionDefault
sheetsYessheet keys ("file.pdf#page") the takeoff will land on
project_idYesThe project to work on (list_projects names them).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.23

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations: selection is listed as free, provider calls consume fractional credits including rereads, tool calls may draw extra credits, metered:false signals self-hosted, and the selection constrains what the turn may write. The credit-refusal handling instruction is exactly the operational context annotations cannot carry.

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?

Front-loaded with purpose, then layered with cost and failure-handling facts; nearly every clause carries new information. Phrasing is terse and telegraphic ('metered:false identifies a self-hosted workspace'), which is dense but not padded.

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?

Though no output schema exists, the description names the key return fields (estimated_credits, credits_remaining) and covers the failure path (credit refusal, billing link, no retry). For a two-parameter preview tool that is sufficient for correct invocation.

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 both parameters are described in-schema, so the baseline applies. The description adds only one semantic extension — that the selected sheets bound what the turn may write — but gives no format or selection guidance (e.g., page ranges) beyond the schema's key syntax.

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 (preview) plus two concrete outputs (selected sheets, estimated credits) and anchors it in the workflow with 'Before AI takeoff'. This distinguishes it from rendering/editing siblings such as compare_sheets or stitch_sheets, which operate on sheets for a different purpose.

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 when-to-use context ('Before AI takeoff') and an explicit do-not-retry instruction on credit refusal. It does not name an alternative preview tool (e.g., preview_estimate_template) or state exclusions, so routing must be inferred from the takeoff framing.

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