Skip to main content
Glama
jhauga
by jhauga

Deliver the efficient prompt

create_efficient_prompt_card

Hands the finished prompt back in an editable card with character and token counts, a copy button, and a confirmation-gated send button, letting users review then submit it.

Instructions

Step 3 of the efficient-prompt flow: hand back the finished prompt in an editable card with a character and token count, a copy button, and a send button gated behind a confirmation box. Write one prompt that is verbose only where verbosity buys a complete first-pass answer: no restated context, no filler, an explicit output shape. Do not act on the prompt here - wait for the user to send it back as a message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
notesNoOne line on what the prompt assumes or leaves out, shown under it
titleNo
promptYesThe finished prompt, as plain text
subtitleNo
contextActionsNoRight-click menu actions the model anticipates being useful. Choosing one sends its prompt to the conversation; use {{selection}} to include the user's selected text.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
cardYes
partsYesSplit state, present on EVERY card result so one completeness check works for all card types. Cards that cannot split always report {current:1,total:1,hasMore:false}; create_markdown_card and create_code_tour_card pack oversized content into parts and can report more. Read hasMore rather than the card title to decide whether content was withheld.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0-alpha

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and delivers: it discloses the deliver-only behavior ('Do not act on the prompt here'), the card's UI behaviors (copy button, confirmation-gated send), and the content-quality bar for the prompt (no filler, explicit output shape). No contradictions between description and the absent annotations. Loses a point only because it doesn't describe side effects such as what happens once the user confirms the send.

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?

Four sentences, each earning its place: the first front-loads the purpose and UI format, the second sets the prompt-quality standard, and the third guards against a common misuse. No filler, no restatement of schema content.

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 an output schema exists and the schema covers the required prompt plus notes and contextActions, the description fills the key gaps: workflow position, deliverable format, and the critical non-execution guardrail. Title and subtitle semantics are the only unaddressed gap, and they are low-ambiguity in a card context.

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 60%, with prompt, notes, and contextActions already documented in the schema. The description adds only implicit meaning — that 'prompt' is the finished deliverable — and says nothing to clarify the undocumented title and subtitle parameters. The UI details (character/token count, copy button) describe the card itself, not how the parameters map to it.

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 and resource: 'hand back the finished prompt in an editable card' with concrete UI elements (character/token count, copy button, confirmation-gated send button). Positions itself as 'Step 3 of the efficient-prompt flow', distinguishing it from sibling card tools like create_prompt_refine_card and create_prompt_gist_card. The title 'Deliver the efficient prompt' reinforces the resource being delivered.

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?

Places the tool explicitly in a workflow ('Step 3 of the efficient-prompt flow'), giving clear context for when to invoke it. Adds an explicit exclusion: 'Do not act on the prompt here - wait for the user to send it back as a message,' which prevents premature execution. Stops short of naming the sibling tools that cover the other steps, so alternative routing is implied rather than stated.

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