Skip to main content
Glama

Create lender enquiry

create_lender_enquiry

Create a user-confirmed enquiry to one selected lender and return the application record. Requires the applicant's first name, last name, and email. Phone is optional. This does not return a credit offer or an approval.

Input Schema

NameRequiredDescriptionDefault
nameNoApplicant name. Not a lender name.
emailNoApplicant email when it is not nested under applicant.
phoneNoOptional phone.
amountNoRequested amount.
lenderNoSelected lender. A string name, or an object with providerId and providerName (offer form) or id and name.
companyNoCompany name.
lendersNoLenders to submit to.
productNoProduct key, for example business_loans.
lastNameNo
providerNoSelected lender. A string name, or an object with providerId and providerName (offer form) or id and name.
applicantYesBorrower contact. First name, last name, and email are required on a confirmed submission. Phone is optional.
confirmedNoTrue only after the user confirmed and provided first name, last name, and email.
firstNameNo
legalNameNoApplicant or company legal name when it is not nested under applicant.
providersNoSame as lenders. The offer form sends providers.
productTypeNoSame as product. The offer form sends productType.
applicationDataNoOptional. May include email, contactEmail, firstName, lastName, legalName, name, company, and amount.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare write, non-destructive, open-world, so the safety profile is covered. The description adds genuine value beyond that: it declares the write is gated on user confirmation and sets negative expectations ('does not return a credit offer or an approval'), which prevents an agent from misreading the response.

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 the action and scope, then prerequisites, then the return-value caveat. Every sentence carries distinct information with no restatement of the title.

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 17-parameter write tool with no output schema, the description covers the action, gating condition, and response expectation. The remaining gap is the alias-heavy parameter surface (lender/lenders/providers, product/productType), which the description does not disambiguate even though the schema does.

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 88%, so the schema already documents applicant fields, lender/provider shapes, and the confirmed flag. The description restates the required fields rather than adding new semantics (e.g. it never explains when to use lender vs lenders vs providers, or how 'confirmed' interacts with submission).

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+resource ('Create a user-confirmed enquiry'), names the target ('one selected lender'), and states the return ('application record'). 'One selected lender' implicitly distinguishes it from the sibling create_multiple_lender_enquiries.

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?

Gives a clear precondition (user confirmation, with required first name, last name, email; phone optional) and the single-lender scope that separates it from the multi-lender sibling. It stops short of explicitly saying when to prefer create_multiple_lender_enquiries or trace_offer_status, so it is context-clear but not a full routing rule.

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