Skip to main content
Glama

generate_nextjs_integration

Generate a consent-gated Next.js attribution integration that enables conversion tracking while respecting user consent choices.

Instructions

Generate a consent-gated Next.js attribution integration.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cookieNameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations, the description carries full behavioral disclosure burden. It only says 'generate', implying creation, but does not disclose side effects, whether it modifies the project, requires consent configuration, or any operational implications. This is a significant gap for a code-generation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single short sentence, so it is concise in word count. However, it is under-specified; the brevity comes at the cost of essential information. It is appropriately front-loaded but not substantive enough for a useful definition.

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

Completeness1/5

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

Given the tool's complexity (code generation, likely side effects, no annotations, no output schema, one parameter), the description is severely incomplete. It fails to explain what 'consent-gated' means, what the integration entails, what the cookieName is for, or what the output looks like. An agent cannot reliably invoke this tool correctly with the current description.

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 coverage is 0%, so the description should explain the cookieName parameter. It does not. While the parameter name is somewhat self-explanatory, the description adds no value about its purpose, format, or optionality. The pattern constraint is only in the schema, not elaborated in the description.

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 clear verb ('Generate') and a specific resource ('consent-gated Next.js attribution integration'), which distinguishes it from the sibling generate_shopify_integration. However, it does not explicitly differentiate itself from other generation tools beyond the platform mention, so it's not a 5.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives. It doesn't mention prerequisites, contexts where the Next.js integration is appropriate, or when to choose generate_shopify_integration instead. The agent is left to infer usage from the tool name alone.

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