Skip to main content
Glama

forge_draft

Load a tap into memory via plan or code. Provide a URL for live verification returning score and rows, or omit to save the draft.

Instructions

Load a tap into memory and optionally verify it live. Accepts a structured plan (TapAnnotation — preferred; verify runs it via the plan runtime) or legacy code (.tap.js source). When url is provided, auto-runs verification and returns {score, rows}. Without url, just stashes the draft.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
planNoTapAnnotation envelope — W3C Annotation with body:tap:ExecutionPlan. Preferred over code.
codeNoLegacy .tap.js source — still supported for rollback; auto-migrated on save.
pathNoPath to .tap.js file. Ignored when plan or code is provided.
urlNoURL to verify against. When provided, draft loads + runs live verification in one step.
descriptionNoShort summary of what this verifies (e.g. 'HN posts with rank, title, points')
Behavior4/5

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

The description explains return values when url is provided and notes that code is legacy. Annotations indicate non-read-only and non-destructive behavior, and the description adds context about stashing vs verification. No contradictions.

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?

Three sentences, front-loaded with main action, each sentence adds essential information. No wasted words.

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?

Given no output schema, the description covers return values for url case and explains both modes. Could elaborate on what 'stashes' means or error handling, but it is sufficiently complete for the tool's complexity.

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

Parameters5/5

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

Schema has 100% coverage, but the description adds value beyond schema: it explains preference order (plan > code), behavior of url (triggers verification), and that path is ignored when plan or code is provided. This enriches understanding.

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?

The description clearly states the tool loads a tap into memory and optionally verifies it live. It distinguishes between preferred plan and legacy code, and explains behavior with and without url, making it distinct from siblings like forge_inspect or forge_save.

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?

The description provides clear context on when to use plan vs code and when to provide url for verification. However, it does not explicitly mention when to use alternatives or when not to use this tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/LeonTing1010/tap'

If you have feedback or need assistance with the MCP directory API, please join our Discord server