Skip to main content
Glama

A2A Cosmetics

Gate Transaction

gate_transaction
Read-onlyIdempotent

Allow or deny, with the reason and the rule. Takes a product (GTIN or catalogue id; optional), the ship-to market, the actor class and, when no record exists yet, the product type, ingredients (INCI) and claims. Returns one of twelve reason codes (ALLOW · REQUIRE_NOTIFICATION · REQUIRE_RESPONSIBLE_PERSON · DENY_NOT_A_COSMETIC_HERE · DENY_INGREDIENT_BANNED · DENY_INGREDIENT_LIMIT · DENY_CLAIM · DENY_MARKET · DENY_ACTOR_CLASS · DENY_UNLICENSED_AGENT · DENY_NO_GTIN · DENY_NOT_VERIFIED), the rule-set version, the source page and a decision_id for the downstream tools.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
claimsNo
channelNo
productNo
ship_toYes
credentialNo
actor_classYes
ingredientsNo
product_typeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, and the description does not contradict them — 'allow or deny' is a returned verdict, not a state change. The description adds useful context beyond the annotations: the complete twelve-code decision space, the conditional input requirement ('when no record exists yet'), and the fact that the returned decision_id feeds downstream tools.

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

Conciseness4/5

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

The description is front-loaded with a strong hook ('Allow or deny, with the reason and the rule') and is dense rather than padded. The twelve-code enumeration is long but justified since no parameter schema defines enums; a light restructure into per-parameter bullets would improve scanability, but no sentence is wasted.

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 an 8-parameter tool with zero schema coverage, the description covers the core decision contract thoroughly — inputs, conditional requirements, and the full return envelope — and an output schema exists so return values need not be re-explained. Gaps remain: channel and credential semantics are undefined, 'when no record exists yet' provides no trigger or check procedure, and no preconditions or prerequisites for the compliance check are stated.

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?

With 0% schema description coverage, the description carries the parameter-documentation burden and largely delivers: it explains product as 'GTIN or catalogue id; optional', clarifies that ingredients are INCI names, and discloses that product_type, ingredients, and claims are only needed when no record exists yet. However, channel and credential receive no semantic hint, and actor_class is merely restated rather than defined.

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 opening 'Allow or deny, with the reason and the rule' names a specific verb and object — a compliance-gate decision with its rationale — and the twelve enumerated reason codes make the decision space unmistakable. This is the only sibling tool that returns an allow/deny verdict, so an agent can distinguish gate_transaction from the get_*/verify_*/resolve_* retrieval tools 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 description implies the use case — call this when a transaction needs an allow/deny compliance decision for a product, market, and actor — but it never states when-not-to-use or names an alternative. The only conditional ('when no record exists yet') governs parameter requirements, not tool selection, so the agent gets no explicit routing guidance against 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.