Skip to main content
Glama

Run sample analysis (evaluation mode)

run_sample_analysis
Read-onlyIdempotent

Evaluation mode for developers: returns LendMail's stored, hand-checked analysis_v1 for one of its public sample letters (apex-verified: Apex Credit, a fictional lender, with a verified LendMail Advisors mark; unmarked-demo: a demo credit card mailer with no mark). No upload and no model call. Call with no sample_id to list the samples. Output follows https://www.lendmail.fit/schemas/analysis-v1.json; docs at https://www.lendmail.fit/developers.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "run_sample_analysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
sample_idNoSample letter id: apex-verified or unmarked-demo. Omit to list the samples.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, closed-world, non-destructive behavior, and the description adds substantive context on top: results are pre-stored and hand-checked rather than computed, so calls are deterministic and free of side effects. It does not discuss error behavior for an invalid sample_id or any auth/quota expectations, which 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?

Purpose is front-loaded in the first clause, and every sentence contributes either scope, sample semantics, list behavior, or the output/docs pointers. The parenthetical sample detail is dense but load-bearing; nothing reads as filler.

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 single optional parameter, read-only tool, the description covers the data source, the no-argument listing case, the output contract via the published analysis-v1 schema URL, and where to find docs. No output schema exists, but the external pointer compensates, leaving no meaningful gap for correct invocation.

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

Parameters4/5

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

Schema coverage is 100% and already documents sample_id, so the baseline is 3; the description earns extra credit by explaining what each accepted id actually contains (apex-verified = fictional lender with a verified Advisors mark; unmarked-demo = demo credit card mailer with no mark), which guides selection. It does not add format or length constraints beyond the schema.

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 and resource (returns stored, hand-checked analysis_v1 for a public sample letter) and bounds the scope with 'No upload and no model call,' which separates it from the model-invoking siblings. It even names the two sample ids and what each represents, so an agent can tell exactly what it will get.

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?

Explicitly frames the tool as an evaluation/developer path with no upload and no model call, and states the no-argument behavior ('Call with no sample_id to list the samples'). The exclusion of other siblings is implied rather than stated by name, so the routing is clear but not exhaustively disambiguated.

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