Skip to main content
Glama

openfinance_list_loans

Read-onlyIdempotent

Lists loan contracts per bank connection (GET /loans). Pass items as an array of connection selectors (item_id uuid, connector_id, or connector_name) — one entry per connection to fetch; multiple connections are queried sequentially with rate-limit spacing. OMIT items to list loans across ALL linked banks. Returns { results, errors } per connection.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added
  4. Removed
  5. Added
  6. Removed
  7. Added
  8. Removed
  9. Added
  10. Removed
  11. Added
  12. Removed
  13. Added
  14. Removed
  15. Added
  16. Removed
  17. Added
  18. Removed
  19. Added
  20. Removed
  21. Added
  22. Removed
  23. Added
  24. Removed
  25. Added
  26. Removed
  27. Added
  28. Removed
  29. Added
  30. Removed
  31. Added
  32. Removed
  33. Added
  34. Removed
  35. Added
  36. Removed
  37. Added
  38. Removed
  39. Added
  40. Removed
  41. Added
  42. Removed
  43. Added
  44. Removed
  45. Added
  46. Removed
  47. Added
  48. Removed
  49. Added
  50. Removed
  51. Added
  52. Removed
  53. Added
  54. Removed
  55. Added
  56. Removed
  57. Changed1 schema field changed
    • removedInput schema / required
      Removed value: -[
      -  "items"
      -]
  58. Changed3 schema fields changed
    • removedInput schema / properties / items / description
      Removed value: -"Connections to list loans for — item_id, connector_id, or connector_name each (same rules as `item` elsewhere). Always pass at least one."
    • removedInput schema / properties / items / maxItems
      Removed value: -50
    • removedInput schema / properties / items / minItems
      Removed value: -1
  59. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, so the safety profile is covered. The description adds valuable behavioral context beyond annotations: it discloses that multiple connections are queried sequentially with rate-limit spacing, and that the return shape is `{ results, errors }` per connection. This gives the agent insight into performance and error handling without contradicting 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 three sentences with no redundant content. It front-loads the core purpose and immediately covers parameter usage, behavior for multiple connections, and return format in a structured way. Every sentence earns its place.

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?

For a simple tool with one optional parameter and no output schema, the description is complete. It provides the endpoint, parameter semantics, behavior for both modes, and return format. Given the annotations and sibling context, there are no significant gaps for an agent to select and invoke the tool correctly.

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

Parameters5/5

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

The input schema has zero description coverage (0%) for the `items` parameter, so the description carries the full burden. It fully explains that `items` is an array of connection selectors (item_id uuid, connector_id, or connector_name), how it is used (one entry per connection), and the behavior when omitted. This compensates completely for the schema's lack of detail.

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 clearly states the tool lists loan contracts per bank connection via the endpoint GET /loans. It distinguishes itself from sibling tools like openfinance_get_loan_detail by focusing on listing rather than individual details, and specifies the scope (per connection or all banks).

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?

The description provides explicit guidance on when to pass `items` (to specify connections) and when to omit it (to list across all linked banks). It also explains that multiple connections are queried sequentially with rate-limit spacing. However, it does not explicitly mention alternatives like openfinance_get_loan_detail, though the purpose and sibling context imply the distinction.

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.