Skip to main content
Glama

Ask for a data file

ask_for_file
Read-only

Let the person upload a data file to the draft, without you copying it: in the conversation, or from the link it gives.

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": {
      "app": "<app>",
      "path": "<path>"
    },
    "name": "ask_for_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesThe app, as list_apps names it, such as sam/budget.
pathYesSuch as data/ledger.beancount.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only say readOnlyHint=true and openWorldHint=false, so the description earns credit for disclosing the interaction model: the person supplies the file either in the conversation or through a link the tool returns, and the agent does not copy the bytes itself. There is a mild tension in that the described outcome is a file landing in the draft while the tool is marked readOnlyHint, though the mutation is performed by the person rather than by the tool, so this is not a flat contradiction. What remains undisclosed is whether the call blocks, returns immediately, or what happens if the person never responds.

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?

One short sentence with the action front-loaded and no filler. The trailing clause 'in the conversation, or from the link it gives' is grammatically loose and slightly cryptic, but it carries real information about the two delivery paths.

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?

For a two-parameter, non-mutating interaction tool with no output schema, the definition covers the essential shape but leaves out what an agent needs to act on the result: whether a link is always returned, whether the request is asynchronous, and how to proceed if the person declines. These gaps are notable precisely because there is no output schema to compensate.

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%, with both 'app' and 'path' documented in the schema, including a worked example value. The description adds no meaning beyond that for either parameter, so the baseline 3 applies.

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 description names a concrete action and resource: it makes the person upload a data file into the draft instead of the agent copying content itself. That is clearly more specific than the title alone, but it never distinguishes this from the sibling ask_for_app_file, and 'the draft' is used without definition.

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 through 'without you copying it', which hints that the agent should not use write_file/upload_file-style approaches to reproduce the file itself. There is no explicit when-to-use, no statement of when this is inappropriate, and no named alternative among read_file, write_file, upload_file, or ask_for_app_file.

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