Skip to main content
Glama

Get result

get_result
DestructiveIdempotent

Downloads a deal's deliverable, verifies it against the proof hash, and saves it to a permitted input-root file path.

Instructions

Download the deliverable for a deal, verify it against the proof hash, save it.

out_path must name a file inside the server's input root (the working
directory at server start, or $LHUB_KIT_INPUT_ROOT; a relative path is
relative to it), with no '..', no path component that starts with '.',
no CLAUDE.md, CLAUDE.local.md or AGENTS.md, and no uv.toml,
pyproject.toml, setup.cfg, pip.conf or requirements*.txt; any other path
is refused before the download.

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": {
      "deal_id": "<deal_id>",
      "out_path": "<out_path>"
    },
    "name": "get_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
deal_idYes
out_pathYes
timeout_secondsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true; the description adds real behavioral detail beyond that by specifying the allow-root resolution ($LHUB_KIT_INPUT_ROOT or the working directory) and that any disallowed path is refused before the download starts, which tells the agent failures happen pre-download. It notably omits whether an existing file at out_path is overwritten and whether a hash mismatch still saves the file — both important for a destructive write.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose sentence is correctly front-loaded and the constraint rules are content-bearing rather than padding. But the second sentence is a single long run-on packing root resolution, relative-path rules, and two separate blocklists, which would read better as a short structured list.

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?

An output schema exists, so return values need not be described, and annotations cover the safety profile. Still missing for a file-writing tool: overwrite semantics, behavior on hash mismatch, currency/rate-limit concerns for downloading, and any explanation of the 60-second timeout parameter.

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 0%, so the description must carry all parameter meaning, and it does so thoroughly for out_path, enumerating the forbidden components and blocked filenames. However, deal_id is left wholly unexplained beyond its name, and timeout_seconds is not mentioned at all, so a third of the parameters remain undocumented.

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?

The first sentence gives a concrete three-step action chain: download the deal's deliverable, verify it against the proof hash, save it. That is far more specific than the name 'get_result' and clearly distinct from siblings like deliver or accept, though no sibling is named as an alternative.

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?

Usage is only implied: an agent infers this is how you fetch a finished deliverable for a deal. There is no statement of prerequisites (must the deal be delivered first?), no when-not-to-use, and no pointer to any alternative retrieval path.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.