Skip to main content
Glama

get_upgrade_preview

Read-onlyIdempotent

Aspirational roadmap to higher credit-tier ceilings for a merchant. Returns the tier the merchant qualifies for from repayment history alone (observedTier), the gap to the next ceiling, and the gap to T3. ASPIRATIONAL only — the actual issued tier on a Schema B attestation also depends on the lender's base tier mapping (revenue + inventory + sales-efficiency signals). Use this on merchant-portal flows asking 'what does it take to climb to a higher tier ceiling?'. Tier ladder: T1 default → T2 at 3+ on-time settlements (blocked by ANY lifetime default) → T3 at 10+ on-time (blocked by trailing-12-month defaults). When the merchant is at T3 both gap fields are null. Graceful clean-slate envelope on backend error or unknown merchant.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
merchantIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations cover readOnly, openWorld, and idempotent, but the description adds substantial behavior: it describes the return fields (observedTier, gaps), tier rules (T1/T2/T3 conditions), null behavior at T3, and graceful error envelope on backend error or unknown merchant. This is valuable context beyond annotations.

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?

The description is front-loaded with purpose, then structured into return fields, the aspirational caveat, usage instruction, tier ladder, null behavior, and error handling. Every sentence adds value, and the length is justified by the complexity of the tier rules.

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 no output schema, the description explains what is returned (observedTier, gaps) and covers edge cases (null at T3, error envelope). It also details the tier ladder and the relationship to actual issued tier, making it complete for an agent to invoke correctly.

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 0% for the single merchantId parameter, but the description compensates by repeatedly referencing 'merchant' and explicitly mentioning 'unknown merchant' in the error envelope, making the parameter's role clear. The parameter name itself is self-explanatory, so despite no direct parameter description, the meaning is well conveyed.

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 opens with a specific verb and resource: 'Aspirational roadmap to higher credit-tier ceilings for a merchant.' It clearly distinguishes itself from the actual tier computation by stating 'ASPIRATIONAL only — the actual issued tier on a Schema B attestation also depends...', which separates it from sibling tools.

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?

Provides explicit when-to-use guidance: 'Use this on merchant-portal flows asking "what does it take to climb to a higher tier ceiling?"'. Also gives a when-not via 'ASPIRATIONAL only', contrasting with actual issued tier determination. This is clear context with exclusion.

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