Skip to main content
Glama

Report which app was chosen

report_choice

Call after comparing integrations, once the buyer has picked one (or none), if the user agrees. Tells Lode which app was chosen and the main reason, from a fixed list. Returns the chosen app's verified setup facts (setup guide, steps where recorded, limitations). Call again with outcome once you have tried the integration: whether it worked, and if not, why and what you switched to. Choices are counted in aggregate and never affect Lode's rankings. Lode keeps only these fields, the time, the kind of client and an anonymous caller code.

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": {
      "considered": "<considered>",
      "chosen": "<chosen>"
    },
    "name": "report_choice"
  }
}

Input Schema

NameRequiredDescriptionDefault
needsNoSync objects the buyer needed
chosenYesThe id chosen, or "none"
reasonNoMain reason, one of: sync-coverage, price, region, setup-effort, limitations, plan-requirement, already-uses, vendor-preference, other
regionNoBuyer country, e.g. "AU"
outcomeNoAfter trying it, one of: integrated, failed, abandoned, not-tried
frameworkNoOne of: nextjs, react, remix, astro, sveltekit, nuxt, vue, angular, express, nestjs, django, flask, fastapi, rails, laravel, spring, dotnet, go, react-native, flutter, other
consideredYesIntegration ids that were compared, "{app}--{ecosystem}" (1 to 4)
switched_toNoIf you moved to another app instead, its Lode id "{app}--{ecosystem}"
existing_stackNoApps and platforms the buyer already uses, e.g. ["supabase","nextjs"] (product names only)
failure_reasonNoIf failed or abandoned, one of: auth, api-error, docs, missing-feature, plan-required, pricing, region, sdk, limits, other

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / existing_stack
      Added value: +{
      +  "description": "Apps and platforms the buyer already uses, e.g. [\"supabase\",\"nextjs\"] (product names only)",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / failure_reason
      Added value: +{
      +  "description": "If failed or abandoned, one of: auth, api-error, docs, missing-feature, plan-required, pricing, region, sdk, limits, other",
      +  "type": "string"
      +}
    • addedInput schema / properties / framework
      Added value: +{
      +  "description": "One of: nextjs, react, remix, astro, sveltekit, nuxt, vue, angular, express, nestjs, django, flask, fastapi, rails, laravel, spring, dotnet, go, react-native, flutter, other",
      +  "type": "string"
      +}
    • addedInput schema / properties / outcome
      Added value: +{
      +  "description": "After trying it, one of: integrated, failed, abandoned, not-tried",
      +  "type": "string"
      +}
    • addedInput schema / properties / switched_to
      Added value: +{
      +  "description": "If you moved to another app instead, its Lode id \"{app}--{ecosystem}\"",
      +  "type": "string"
      +}
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations mark this as a non-read-only, non-idempotent, closed-world write, so the burden on the description is real and it largely meets it: it discloses aggregated counting, that choices never affect rankings, and exactly which fields plus client metadata are retained. The one gap is that a repeat call with outcome is described as 'call again' without saying whether it updates the existing report or creates a second one, which matters given idempotentHint=false.

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?

Trigger, effect, return value, follow-up call and privacy notes arrive in a logical order with no filler sentences. Minor redundancy: 'from a fixed list' duplicates the schema's enumerated reasons, and the data-retention sentence is long relative to its weight.

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 10-parameter write tool with no output schema, the description covers the trigger, the returned setup facts, the second-call pattern and the data-handling contract. It leaves open how the second call reconciles with the first report, which is the one substantive omission.

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 every parameter including the enum-like reason, outcome, switched_to and failure_reason values is already documented in the schema. The description adds only 'main reason, from a fixed list', which restates what the reason parameter says. Baseline 3 applies since the schema does the heavy lifting.

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 names a specific action (report which app was chosen and why) and ties it to a precise trigger point in the workflow (after comparing integrations, once the buyer has picked one). It also states what comes back (the chosen app's verified setup facts), so an agent knows both the input intent and the payoff without touching 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 Guidelines5/5

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

Timing is explicit and conditional: call only after comparison, only once the buyer picked one or none, and only if the user agrees. It further instructs a second call with outcome after trying the integration and names the fallback fields (why it failed, what was switched to). Alternatives such as compare_integrations and report_error are implicitly routed by the ordering language.

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.