Skip to main content
Glama

haggl_claim_inquiry_cashback

After the business's inquiry form is sent with the code in its message, and only with the user's approval to share their email: registers the user for the discount. haggl.ai uses the email only for this.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "code": "<code>",
      "email": "<email>"
    },
    "name": "haggl_claim_inquiry_cashback"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesThe code haggl_inquiry_cashback gave, as put in the inquiry form.
emailYesThe email the discount goes back to, shared with the user's approval.

Output Schema

NameRequiredDescriptionDefault
codeNoThe code registered; when the call failed, a machine-readable error code instead.
errorNoPresent only when the call failed: what went wrong.
messageNoWhat happens next: tell the user.
recordedNoWhether the registration was recorded.
recoveryNoWhen the outcome is uncertain: the tool and session_id to read before retrying.
retryableNoWhether the same call may be retried.
retry_after_secondsNoWhen rate limited: seconds to wait before retrying.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / email / description
      Previous value: -"The email the reward goes to, shared with the user's approval."New value: +"The email the discount goes back to, shared with the user's approval."
    • changedOutput schema / properties / code / description
      Previous value: -"The code claimed; when the call failed, a machine-readable error code instead."New value: +"The code registered; when the call failed, a machine-readable error code instead."
    • changedOutput schema / properties / recorded / description
      Previous value: -"Whether the claim was recorded."New value: +"Whether the registration was recorded."
  2. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare this as a write (readOnlyHint=false) that is neither idempotent nor open-world, so the safety bar is partly covered. The description adds genuinely new behavioral context beyond them: an explicit consent prerequisite and a data-use limitation ('haggl.ai uses the email only for this'), though it never addresses the non-idempotent consequence of calling twice with the same code.

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?

Two short sentences with the gating conditions front-loaded before the action, which is the right ordering for a consent-sensitive call. The colon-clause construction is slightly clunky but no sentence is wasted.

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

Completeness5/5

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

With only two required parameters, full schema descriptions, an output schema, and annotations covering the write profile, the remaining burden is preconditions and consent, both of which the description supplies. Nothing essential for calling it correctly is missing.

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 are already fully documented, including the code's provenance and the email's consent basis. The description restates those same points rather than adding format, validation, or failure semantics, so the baseline of 3 applies.

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 states a specific verb and outcome ('registers the user for the discount') and anchors it to a precondition tied to a named sibling ('After the business's inquiry form is sent with the code in its message'), so an agent can tell it apart from the earlier haggl_inquiry_cashback step. It is clear but slightly oblique about the discount object itself.

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?

It gives concrete conditions for calling: the inquiry form must already be sent with the code, and the user must have approved sharing their email. That is effective when-to-use guidance, though it does not state what to do if no code has been issued yet or name an alternative action.

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