Skip to main content
Glama

Cadourile.ro

create_gift

Adaugă un cadou nou într-o listă.

Args:
    list_id: ID-ul listei în care se adaugă cadoul.
    name: Numele cadoului (obligatoriu).
    description: Descriere opțională.
    price: Preț estimativ în RON.
    url: Link către produs. Nu se extrag metadate automat aici — folosește întâi
        extract_gift_metadata(url) ca să obții title/description/image_url/price,
        la fel ca formularul web.
    allows_contributions: Dacă lista poate contribui în comun la acest cadou (bifa
        „acceptă contribuții multiple" din web). Dacă nu e precizat, se activează
        automat când price >= 200 RON — identic cu comportamentul din formularul web.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
nameYes
priceNo
list_idYes
descriptionNo
allows_contributionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior3/5

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

With no annotations present, the description carries the full burden of disclosing behavioral traits. It does disclose two meaningful non-obvious behaviors: URLs are not automatically scraped, and allows_contributions auto-activates when price >= 200 RON. However, it does not describe side effects beyond creation, permission requirements, failure modes, or what the function returns, which leaves gaps in transparency.

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 starts with a clear one-sentence summary, followed by a well-organized Args block. Every line adds necessary information—parameter meanings, constraints, and default behavior—without redundant filler. It is efficiently structured and easy to scan.

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?

For a tool with 6 parameters and no output schema, the description covers the essential inputs and important edge-case behavior (URL handling and contributions default). It lacks details like required list existence and return value, but the provided information is sufficient for an agent to invoke the tool correctly in most scenarios.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate. It explains each parameter's meaning—list_id, name (required), description (optional), price in RON, url, and allows_contributions—and adds crucial semantics like the URL not auto-extracting metadata and the conditional default for contributions. This is far more valuable than the bare schema.

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 opens with a clear, specific action: 'Adaugă un cadou nou într-o listă' (Add a new gift to a list). This identifies the verb (add), resource (gift), and target (list), making its purpose immediately obvious and distinct from sibling tools like create_gift_list, update_gift, or reserve_gift.

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 an explicit alternative for URL handling: it instructs to use extract_gift_metadata(url) first instead of relying on this tool to extract metadata, mirroring web form behavior. It also clarifies that allows_contributions has an automatic default when not specified. These are practical usage guidelines, though it does not directly contrast with update_gift or other create-related siblings.

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.

Resources