Skip to main content
Glama

OpenMortgage

get lender public orders

get_lender_public_orders
Read-onlyIdempotent

Returns CFPB enforcement actions that name one lender. Each result includes the date, agency, title and link. The result appears only when the company is tied to the lender.

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": {
      "lender": "<lender>"
    },
    "name": "get_lender_public_orders"
  }
}

Input Schema

NameRequiredDescriptionDefault
lenderYesThe lender's LEI (20 characters) or its page slug.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare this a safe, idempotent, closed-world read, so the description correctly focuses on what the annotations cannot say: the result fields (date, agency, title, link) and the fact that an empty result occurs when no company is tied to the lender. That spoils the main failure mode an agent would otherwise misread as an error. Only mildly vague phrasing ("tied to the lender") keeps it below a 5.

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?

Three short sentences, front-loaded with the purpose and then the return shape, with no filler. The third sentence is slightly imprecise in wording but earns its place by explaining empty results.

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?

There is no output schema, and the description compensates by enumerating the returned fields; the single parameter is fully covered by the schema and annotations cover safety. What remains thin is detail on result volume or ordering, but for a one-argument lookup tool this is close to sufficient.

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% and the single parameter already documents both accepted forms (20-character LEI or page slug). The description only says "one lender" and adds no format, validation, or resolution-order detail beyond the schema. Baseline 3 is appropriate.

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 verb and resource ("Returns CFPB enforcement actions that name one lender") and clarifies that the resource is enforcement actions rather than the complaints or FHA-performance data the sibling tools expose. An agent can distinguish this from get_lender_complaints without opening any schema.

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?

The purpose implies the use case (pull regulatory actions tied to a lender), but there is no explicit when-to-use or when-not-to-use guidance and no named alternative to route to. The note about results only appearing when the company is tied to the lender is an edge-case hint rather than selection guidance.

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