Skip to main content
Glama

Ask for a file

ask_for_app_file
Read-only

Let the person upload a file an app's action takes, as describe_app says, so you never copy it: it answers a reference to pass as the file.

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>",
      "action": "<action>"
    },
    "name": "ask_for_app_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesThe app, as list_apps names it, such as sam/budget.
roleNoThe role to act as, one the person holds. Leave it out when they hold one.
actionYesThe action.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description does add real value by disclosing that a human is prompted and that the result is a reference to pass as the file argument, but it says nothing about what happens on cancel, timeout, or whether describe_app must be called first.

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?

It is a single sentence, appropriately short and front-loaded with the purpose, so nothing is padded. However the syntax is tangled ('a file an app's action takes', 'it answers a reference to pass as the file'), which costs comprehension for zero gain in brevity.

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 three-parameter tool with no output schema, the description covers intent and the shape of the result (a reference) but omits cancel/decline behavior, prerequisites, and error outcomes. Adequate to attempt a call, not enough to handle the human-interaction edge cases.

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% with per-parameter descriptions, so the baseline is 3. The description nudges above that by explaining that the returned reference feeds the file argument implied by the app's action, which clarifies the relationship between the 'action' parameter and the tool's output.

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 states a specific verb and resource: it asks the person to upload a file that an app's action consumes, and returns a reference instead of file contents. That distinguishes it from the uploading/writing siblings in spirit, but it never names ask_for_file or upload_app_file, so the agent must infer which tool to pick.

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?

It implies usage context by pointing to describe_app ('as describe_app says') and gives one negative rule ('so you never copy it'), which tells the agent not to embed file content. It stops short of explicit when-to-use/when-not conditions or naming the alternative tool for cases where a file is already available.

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