Skip to main content
Glama

Generate the ProAbono pricing table embed

generate_pricing_table

Generate the embed code that displays a ProAbono pricing table on your site. Choose anonymous mode for public pages or identified mode for signed-in customers who can subscribe directly in place.

Instructions

Generates the embed that renders the ProAbono pricing table inside a page of the merchant's site. Two flavours: anonymous for a public pricing page, or identified for a signed-in customer, who can then subscribe in place -- which needs the customer reference and the security hash. What happens when a plan is chosen is configured in the BackOffice, not in this code.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stackYesThe host project's stack. Detect it from the open project (package.json, composer.json, requirements.txt, Gemfile, .csproj) and confirm with the developer. Use "generic" when none fits.
identifiedYestrue for a signed-in customer who can subscribe in place; false for the public anonymous table.
target_pageYesPath of the page that will host the table, e.g. "/pricing".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the burden of behavior disclosure. It does disclose that the identified flavour requires a customer reference and security hash, and that post-selection behavior is configured in the BackOffice. It does not mention output format, side effects, or any authentication requirements beyond the security hash, leaving some behavioral gaps.

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 three tight sentences with no filler. It front-loads the core action, then efficiently explains modes and external configuration. Every sentence contributes value.

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?

The description covers the two modes and external config, but no output schema or annotations exist. It leaves unclear how the customer reference and security hash are supplied since they are absent from the input schema, and it doesn't describe what the generated embed looks like. These are notable gaps for a tool with no structured fallback.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3. The description adds real meaning to the 'identified' parameter by explaining the two flavours and the subscribe-in-place implication. The note about customer reference and security hash adds context, even though those values are not schema 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?

The description uses a specific verb ('Generates') and resource ('the embed that renders the ProAbono pricing table'), making the tool's function clear. It does not explicitly distinguish it from siblings like install_customer_portal, but the verb+resource combination is sufficiently distinct.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The description gives clear context for when to use the anonymous vs identified flavour, and notes the dependency on customer reference/security hash for the identified case. However, it does not mention when to prefer a sibling tool or provide any explicit exclusions, so guidance for alternative selection is missing.

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