Skip to main content
Glama

Next-best option after a decline

next_best_option
Read-only

The decline-with-dignity waterfall: given why a business was declined (and optional profile bands), the next rungs to try, cheapest for the owner first, down to free nonprofit credit counseling. Never a dead end.

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": {
      "decline_reason": "<decline_reason>"
    },
    "name": "next_best_option"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateNoTwo-letter US state code (e.g. NY).
industryNoIndustry words or a NAICS code, e.g. "restaurants", "trucking", "dental practice" or 722511. No company names.
citizenshipNo
credit_bandNo
revenue_bandNo
decline_reasonYes
time_in_business_bandNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / industry / description
      Previous value: -"Industry in a few words (e.g. \"restaurants\", \"trucking\", \"dental practice\"). No company names."New value: +"Industry words or a NAICS code, e.g. \"restaurants\", \"trucking\", \"dental practice\" or 722511. No company names."
  2. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint true, destructiveHint false, openWorldHint false), so the bar is lower. The description still adds real behavioral value: output is ordered 'cheapest for the owner first' and terminates at free nonprofit credit counseling, with a stated guarantee of 'never a dead end' — that ordering and floor are not derivable from schema or annotations.

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?

A single dense sentence, front-loaded with what the tool is and immediately followed by the input, the ordering rule, and the terminal guarantee. 'Decline-with-dignity' is tone-setting rather than informative, but it costs only two words.

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 a 7-parameter, read-only recommendation tool with no output schema, the description should say more about what a 'rung' looks like (named programs? lenders? actions?) and whether results are US-only, which the state parameter implies but never states. The purpose and ordering are complete enough to call it, but not enough to interpret results confidently.

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

Parameters2/5

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

Schema description coverage is only 29% across 7 parameters; five are bare enums with no schema descriptions, and the description does not explain any band's effect on the waterfall. It only broadly gestures at 'why a business was declined (and optional profile bands)', leaving credit_band, revenue_band, time_in_business_band, citizenship, and state semantics undocumented.

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 names the resource concretely — a 'waterfall' of 'next rungs to try' keyed off a decline reason — so an agent knows it returns ranked alternative funding paths rather than lenders or estimates. It does not, however, distinguish itself from siblings like find_lenders or estimate_match, which superficially also produce candidate options.

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?

'Given why a business was declined' implies the triggering situation (a rejection has occurred), and the reference to optional profile bands clarifies that only the reason is strictly needed. There is no explicit when-not-to-use guidance and no named alternative for the case where no decline has happened yet.

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