Skip to main content
Glama

SecureLend Underwriting

Draft memo from file

draft_memo_from_file

Draft a credit memo from the case file. Same CaseSchema.id as Draft from file. Uses the tenant model when one is saved, otherwise the file template.

Input Schema

NameRequiredDescriptionDefault
caseIdYesCaseSchema.id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations declare not read-only and not destructive, so the mutation profile is partly covered. The description usefully adds the non-deterministic source rule (tenant model when saved, otherwise file template), but says nothing about whether a memo is persisted, whether repeat calls overwrite, or what permissions/costs are involved.

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, zero filler, with the core action front-loaded. Nothing is padded or restated for its own sake.

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?

There is no output schema, and the description never indicates what comes back (memo text, a draft object, an ID) or where the result lives, which matters for a non-read-only generation tool. The input side is fully covered by the schema, so the gap is limited to return behavior.

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 coverage is 100% and the single param already carries the 'CaseSchema.id' description, so the schema does the work. The description's 'Same CaseSchema.id as Draft from file' only reinforces that, adding no new syntax, format, or sourcing guidance.

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 specific verb+resource: drafting a credit memo from the case file, which is clearly distinct from the read/open/walk siblings. The secondary sentence references 'Draft from file', a tool not present in the sibling list, which is mildly confusing but doesn't obscure the core purpose.

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 statement of when to choose this over alternatives or whether it is a terminal step after read_case/walk_credit_file. The implicit comparison to 'Draft from file' hints at an alternative but never says which condition selects which tool.

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.