Skip to main content
Glama

generate_contract

Genera codigo Solidity seguro para smart contracts usando OpenZeppelin. Soporta NFTs, dynamic NFTs, tokens, marketplaces y DAOs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesNombre del contrato
typeYesTipo de contrato: nft, dynamic_nft, token, marketplace, dao

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It notes the code is "seguro" and relies on OpenZeppelin, but says nothing about side effects (does it write files or just return text?), output format, permissions, or determinism — significant gaps for a generation tool with zero annotation coverage.

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?

Two compact sentences with the verb and resource front-loaded and zero filler. Every clause adds scope or capability information.

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?

For a 2-required-param tool with full schema coverage, the description is serviceable but silent on the return value — no output schema exists, so the agent cannot tell whether it receives source code text, a file path, or a deployment artifact. That missing output contract keeps this from being complete.

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 100%, so both parameters and the enum values are already documented in the schema. The description echoes the same contract-type list but adds no syntax, format, or naming constraints beyond what the schema provides, so the baseline 3 applies.

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 ("Genera") plus resource ("codigo Solidity para smart contracts") and adds the concrete implementation basis (OpenZeppelin) and scope (NFTs, tokens, marketplaces, DAOs). An agent can distinguish this code-generation tool from siblings like chat or describe_nft without opening the schema.

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 list of supported contract types ("NFTs, dynamic NFTs, tokens, marketplaces y DAOs") implies the scenarios the tool applies to, matching the enum. However, there is no explicit when-to-use guidance and no alternatives named among the siblings, so usage is only implied.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.