Skip to main content
Glama
jhauga
by jhauga

Create show/hide card

create_reveal_card

Renders a collapsible card with show/hide sections and show-all/hide-all buttons, ideal for step-by-step guides, FAQs, spoilers, and lengthy reference material.

Instructions

Render a card of collapsible show/hide sections with show-all/hide-all buttons. Good for step-by-step guides, FAQs, spoilers, and long reference material.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYes
sectionsYes
subtitleNo
tutorTermsNoEducational tutor terms. Occurrences in the card are underlined; hovering ~1.2s shows the tip and notifies the host so the model can follow up.
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
Behavior3/5

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

With no annotations, the description carries the full burden for behavioral disclosure. It describes the primary interactive behavior (collapsible sections and show-all/hide-all buttons) but omits additional behaviors like tutorTerms hover interactions and contextActions right-click menu. There is no contradiction, but the disclosure is minimal.

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?

The description is two sentences long, front-loaded with the core function, and includes practical use cases without any filler. Every word contributes to understanding what the tool does and when to use it.

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

Completeness2/5

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

Despite having an output schema and descriptions for tutorTerms/contextActions, the sections parameter is complex and undocumented in both the description and schema. The description fails to explain how to structure sections or the meaning of html/text/open. For a tool with nested objects and interactive features, this is insufficient for confident invocation.

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

Parameters2/5

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

Schema descriptions cover only tutorTerms and contextActions (40% coverage). The tool description adds no parameter-specific meaning beyond the term 'sections', leaving title, subtitle, and the structure of sections (html/text/open) unexplained. Since schema coverage is low and the description does not compensate, this dimension is weak.

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 renders a card with collapsible show/hide sections and show-all/hide-all buttons. It also provides example use cases, making the purpose specific and distinct from sibling card tools.

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 gives explicit use cases ('Good for step-by-step guides, FAQs, spoilers, and long reference material'), which clarifies when to use it. However, it does not explicitly mention when not to use it or name alternative tools, so it misses the full 'when-not/alternatives' guidance.

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/jhauga/mcp-chat-cards'

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