Skip to main content
Glama

Save how you found Fudge

record_discovery_source
Idempotent

Save how the merchant heard about Fudge during setup. Record only their stated answer, or null if they explicitly skip. Never infer the source. Existing answers and skips are preserved; this changes no storefront content.

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": {
      "answer": "<answer>"
    },
    "name": "record_discovery_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
storeNoThe connected store to use. Omit when only one is connected.
answerYesThe merchant’s own answer, or null only if they explicitly skip.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare a non-destructive, idempotent write. The description adds real value beyond them by disclosing that existing answers and skips are preserved and that no storefront content is modified, which tells the agent about overwrite behavior and side-effect scope.

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?

Three short sentences, front-loaded with purpose, then the recording rule, then the side-effect guarantee. Nothing is redundant or padding.

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?

A two-parameter write tool with full schema coverage, annotations, and no output schema needs exactly this: purpose, input discipline, and side-effect scope. Nothing an agent requires to call it correctly is missing.

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?

Schema coverage is 100%, so the baseline is 3; the description earns an increment by defining what qualifies as a valid 'answer' (the merchant's own words, no inference) and when null is legitimate. It says nothing extra about the 'store' parameter, but the schema covers that.

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 and resource ('Save how the merchant heard about Fudge') plus the scope 'during setup', which cleanly separates it from the generic sibling record_change. An agent can tell exactly what is being persisted 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 Guidelines4/5

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

Clear context for use ('during setup') and explicit rules: store the stated answer, use null only on an explicit skip, never infer. It does not name a sibling alternative, but the conditions for correct use are unambiguous.

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.