Skip to main content
Glama

Compare personal mortgages

compare_personal_mortgages
Read-only

Compare residential mortgage products and rates based on property value, loan amount, and credit score

Input Schema

NameRequiredDescriptionDefault
stateNoUS state.
amountNoRequested amount.
purposeNoWhat the amount is for.
homePriceNoProperty value for a mortgage comparison.
principalNoPrincipal when loanAmount is omitted.
loanAmountNoRequested amount.
creditScoreNoCredit score used to filter options.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / additionalProperties
      Previous value: -trueNew value: +false
    • addedInput schema / properties
      Added value: +{
      +  "amount": {
      +    "description": "Requested amount.",
      +    "type": "number"
      +  },
      +  "creditScore": {
      +    "description": "Credit score used to filter options.",
      +    "type": "number"
      +  },
      +  "homePrice": {
      +    "description": "Property value for a mortgage comparison.",
      +    "type": "number"
      +  },
      +  "loanAmount": {
      +    "description": "Requested amount.",
      +    "type": "number"
      +  },
      +  "principal": {
      +    "description": "Principal when loanAmount is omitted.",
      +    "type": "number"
      +  },
      +  "purpose": {
      +    "description": "What the amount is for.",
      +    "type": "string"
      +  },
      +  "state": {
      +    "description": "US state.",
      +    "type": "string"
      +  }
      +}
  2. Changed5 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • addedInput schema / additionalProperties
      Added value: +true
    • removedInput schema / properties
      Removed value: -{
      -  "creditScore": {
      -    "description": "The applicant's estimated credit score (500-850).",
      -    "maximum": 850,
      -    "minimum": 500,
      -    "type": "number"
      -  },
      -  "downPayment": {
      -    "description": "The amount of the down payment in USD.",
      -    "minimum": 0,
      -    "type": "number"
      -  },
      -  "homePrice": {
      -    "description": "The purchase price of the home in USD.",
      -    "maximum": 5000000,
      -    "minimum": 50000,
      -    "type": "number"
      -  },
      -  "loanAmount": {
      -    "description": "The desired mortgage loan amount in USD.",
      -    "maximum": 2000000,
      -    "minimum": 50000,
      -    "type": "number"
      -  },
      -  "loanType": {
      -    "description": "The type of mortgage loan.",
      -    "enum": [
      -      "conventional",
      -      "fha",
      -      "va",
      -      "jumbo",
      -      "refinance"
      -    ],
      -    "type": "string"
      -  },
      -  "propertyType": {
      -    "description": "The intended use of the property.",
      -    "enum": [
      -      "primary",
      -      "secondary",
      -      "investment"
      -    ],
      -    "type": "string"
      -  },
      -  "state": {
      -    "description": "The state where the property is located (2-letter code).",
      -    "type": "string"
      -  }
      -}
    • removedInput schema / required
      Removed value: -[
      -  "loanAmount",
      -  "loanType"
      -]
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": false,
      -  "properties": {
      -    "metadata": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "queryId": {
      -          "type": "string"
      -        },
      -        "sessionId": {
      -          "type": "string"
      -        },
      -        "timestamp": {
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "queryId",
      -        "timestamp"
      -      ],
      -      "type": "object"
      -    },
      -    "offers": {
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "disclaimer": {
      -            "description": "A disclaimer message, e.g., if the offer is an estimate.",
      -            "type": "string"
      -          },
      -          "fees": {
      -            "additionalProperties": false,
      -            "description": "Any fees associated with the loan.",
      -            "properties": {
      -              "origination": {
      -                "additionalProperties": false,
      -                "description": "Fee charged by the lender for processing the loan.",
      -                "properties": {
      -                  "amount": {
      -                    "additionalProperties": false,
      -                    "description": "The origination fee amount.",
      -                    "properties": {
      -                      "amount": {
      -                        "type": "number"
      -                      },
      -                      "currency": {
      -                        "const": "USD",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "amount",
      -                      "currency"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "percentage": {
      -                    "description": "The origination fee as a percentage of the loan amount.",
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "amount"
      -                ],
      -                "type": "object"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "isEstimate": {
      -            "description": "Indicates if the offer terms are an estimate and not a firm quote.",
      -            "type": "boolean"
      -          },
      -          "isSecureLendTenant": {
      -            "description": "Indicates if the offer is from a SecureLend-managed tenant.",
      -            "type": "boolean"
      -          },
      -          "lender": {
      -            "additionalProperties": false,
      -            "description": "Details about the lender providing the offer.",
      -            "properties": {
      -              "id": {
      -                "description": "The unique identifier for the lender.",
      -                "type": "string"
      -              },
      -              "name": {
      -                "description": "The display name of the lender.",
      -                "type": "string"
      -              },
      -              "type": {
      -                "description": "The type of lending institution (e.g., 'Bank', 'Credit Union').",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "id",
      -              "name",
      -              "type"
      -            ],
      -            "type": "object"
      -          },
      -          "matching": {
      -            "additionalProperties": false,
      -            "description": "Information about how the offer was matched.",
      -            "properties": {
      -              "matchReasons": {
      -                "description": "Reasons for the match score.",
      -                "items": {
      -                  "type": "string"
      -                },
      -                "type": "array"
      -              },
      -              "matchScore": {
      -                "description": "A score indicating how well the offer matches the search criteria.",
      -                "type": "number"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "offerId": {
      -            "description": "A unique identifier for this specific loan offer.",
      -            "type": "string"
      -          },
      -          "process": {
      -            "additionalProperties": false,
      -            "description": "Details about the application and funding process.",
      -            "properties": {
      -              "applicationMethod": {
      -                "description": "How to apply for the loan.",
      -                "enum": [
      -                  "online",
      -                  "phone",
      -                  "in_person"
      -                ],
      -                "type": "string"
      -              },
      -              "applicationUrl": {
      -                "description": "The URL to the online application form.",
      -                "format": "uri",
      -                "type": "string"
      -              },
      -              "fundingSpeed": {
      -                "additionalProperties": false,
      -                "description": "Information on how quickly the loan is funded.",
      -                "properties": {
      -                  "description": {
      -                    "description": "Estimated time to receive funds.",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "description"
      -                ],
      -                "type": "object"
      -              }
      -            },
      -            "required": [
      -              "applicationMethod"
      -            ],
      -            "type": "object"
      -          },
      -          "product": {
      -            "additionalProperties": false,
      -            "description": "Details about the financial product.",
      -            "properties": {
      -              "description": {
      -                "description": "A brief description of the product.",
      -                "type": "string"
      -              },
      -              "name": {
      -                "description": "The name of the financial product being offered.",
      -                "type": "string"
      -              },
      -              "type": {
      -                "description": "The category of the financial product.",
      -                "enum": [
      -                  "INSTALLMENT_LOAN",
      -                  "LINE_OF_CREDIT",
      -                  "SHORT_TERM_CREDIT",
      -                  "BNPL",
      -                  "MORTGAGE",
      -                  "AUTO_LOAN",
      -                  "AUTO_REFINANCE",
      -                  "STUDENT_LOAN",
      -                  "STUDENT_LOAN_REFINANCE",
      -                  "BUSINESS_LOAN",
      -                  "BUSINESS_BANKING",
      -                  "BUSINESS_CREDIT_CARD",
      -                  "PERSONAL_BANKING",
      -                  "SAVINGS_ACCOUNT",
      -                  "PERSONAL_CREDIT_CARD"
      -                ],
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "name",
      -              "type"
      -            ],
      -            "type": "object"
      -          },
      -          "terms": {
      -            "additionalProperties": false,
      -            "description": "The terms and conditions of the loan offer.",
      -            "properties": {
      -              "amount": {
      -                "additionalProperties": false,
      -                "description": "The principal loan amount.",
      -                "properties": {
      -                  "amount": {
      -                    "type": "number"
      -                  },
      -                  "currency": {
      -                    "const": "USD",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "amount",
      -                  "currency"
      -                ],
      -                "type": "object"
      -              },
      -              "interestRate": {
      -                "additionalProperties": false,
      -                "description": "Details about the interest rate.",
      -                "properties": {
      -                  "apr": {
      -                    "description": "The Annual Percentage Rate, including fees.",
      -                    "type": "number"
      -                  },
      -                  "rate": {
      -                    "description": "The nominal interest rate.",
      -                    "type": "number"
      -                  },
      -                  "type": {
      -                    "description": "The type of interest rate.",
      -                    "enum": [
      -                      "fixed",
      -                      "variable"
      -                    ],
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "type",
      -                  "rate",
      -                  "apr"
      -                ],
      -                "type": "object"
      -              },
      -              "payment": {
      -                "additionalProperties": false,
      -                "description": "Details about the repayment schedule.",
      -                "properties": {
      -                  "amount": {
      -                    "additionalProperties": false,
      -                    "description": "The amount of each payment.",
      -                    "properties": {
      -                      "amount": {
      -                        "type": "number"
      -                      },
      -                      "currency": {
      -                        "const": "USD",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "amount",
      -                      "currency"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "frequency": {
      -                    "const": "monthly",
      -                    "description": "The frequency of payments.",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "frequency",
      -                  "amount"
      -                ],
      -                "type": "object"
      -              },
      -              "prepaymentPenalty": {
      -                "description": "Indicates if there is a penalty for early repayment.",
      -                "type": "boolean"
      -              },
      -              "repayment": {
      -                "additionalProperties": false,
      -                "description": "Summary of repayment details.",
      -                "properties": {
      -                  "costOfFinancing": {
      -                    "description": "The total cost of borrowing (interest and fees).",
      -                    "type": "number"
      -                  },
      -                  "totalRepaymentAmount": {
      -                    "description": "The total amount to be repaid over the life of the loan.",
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "totalRepaymentAmount",
      -                  "costOfFinancing"
      -                ],
      -                "type": "object"
      -              },
      -              "termMonths": {
      -                "description": "The duration of the loan in months.",
      -                "type": "number"
      -              },
      -              "totalCost": {
      -                "additionalProperties": false,
      -                "description": "The total cost of the loan, including interest and fees.",
      -                "properties": {
      -                  "amount": {
      -                    "type": "number"
      -                  },
      -                  "currency": {
      -                    "const": "USD",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "amount",
      -                  "currency"
      -                ],
      -                "type": "object"
      -              }
      -            },
      -            "required": [
      -              "amount",
      -              "interestRate",
      -              "termMonths"
      -            ],
      -            "type": "object"
      -          }
      -        },
      -        "required": [
      -          "offerId",
      -          "lender",
      -          "product",
      -          "terms",
      -          "process",
      -          "isSecureLendTenant"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "summary": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "bestRate": {
      -          "type": "number"
      -        },
      -        "fastestFunding": {
      -          "type": "string"
      -        },
      -        "totalOffers": {
      -          "type": "number"
      -        }
      -      },
      -      "required": [
      -        "totalOffers",
      -        "bestRate",
      -        "fastestFunding"
      -      ],
      -      "type": "object"
      -    }
      -  },
      -  "required": [
      -    "offers",
      -    "summary",
      -    "metadata"
      -  ],
      -  "type": "object"
      -}New value: +null
  3. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and a closed-world scope, so safety is covered. The description adds only that results are filtered by credit score and scoped to residential products, but says nothing about ranking, number of lenders returned, or whether all inputs are optional — notable given zero required parameters.

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?

A single sentence that front-loads the action and the resource with no filler. Every clause carries content relevant to selection.

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 tool with all parameters optional and no output schema, the description should clarify what inputs are needed for a meaningful comparison and what the result looks like. It instead covers only one sentence of intent, leaving the optional-parameter behavior and return shape unexplained.

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 description coverage is 100%, so the baseline is 3. The description loosely maps to three of the seven parameters (property value, loan amount, credit score) but does not address the overlapping amount/loanAmount/principal fields or the fallback behavior, which is the one place added meaning would have real value.

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?

States a clear verb+resource combination ('Compare residential mortgage products and rates') and lists the dimensions the comparison uses. It implicitly separates the tool from siblings like compare_business_mortgages or calculate_mortgage_payment via 'residential', but never names an alternative explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

No when-to-use guidance, no prerequisites, no exclusions, and no routing to alternatives such as compare_business_mortgages or calculate_mortgage_payment. The clause 'based on property value, loan amount, and credit score' describes inputs rather than usage conditions, leaving the agent to infer the scenario from the tool name alone.

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