Skip to main content
Glama

Ask a question about the files

tarkle_ask

Ask a question and get an answer written from the workspace's files, with the sources it used: numbered [n] in the answer, each with fileId, name and pages. Use it when you want Tarkle to read the files for you; to read them yourself use tarkle_search_files and tarkle_read_file, which use no credits. This SPENDS CREDITS like a question in Ask about files (the workspace's plan credits or its own AI key pay; the answer says how many were used; deep is Pro only). It only reads: nothing is changed. Only files this person can open are read. folderId limits the question to one folder; mode deep is slower and thorough. Nothing is saved between calls: for a follow-up send the earlier questions and answers as history.

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": {
      "workspaceId": "<workspaceId>",
      "question": "<question>"
    },
    "name": "tarkle_ask"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNobasic (default) is quick; deep reads more and costs more (Pro plans and own AI keys).
historyNoEarlier questions and answers of this conversation, oldest first, so a follow-up makes sense. Each is charged as input.
folderIdNoOnly answer from this folder and its subfolders (from tarkle_list_folders).
questionYesThe question to answer from the workspace's files.
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
workspaceIdYesThe workspace's id, from tarkle_list_workspaces.

Output Schema

NameRequiredDescriptionDefault
modeNo
notesNo
answerNo
noticeNo
paidByNo
sourcesNo
creditsUsedNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations it discloses the cost model (plan credits or the workspace's own AI key, count reported in the answer), permission scoping (only files this person can open), and that state is not persisted between calls. The one soft spot is "It only reads: nothing is changed" sitting next to readOnlyHint=false — the description does supply the reason (credit consumption) but never reconciles the pairing explicitly, which could briefly puzzle an agent.

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?

Front-loaded with the purpose and citations before cost and constraints, and every clause carries information. The heavy parenthetical stacking (credits, deep mode, history) makes it denser than it needs to be and slightly harder to scan.

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 6-parameter, credit-spending, stateless question tool with an output schema already defining the return, the description covers cost, permissions, scoping, mode tradeoffs, and conversation continuity. Nothing an agent needs to call it correctly is missing.

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%, so the description only needs to supplement. It does add real meaning for folderId (limits the question to one folder), mode deep (slower, more thorough, Pro only), and history (nothing is saved between calls, so earlier Q&A must be resent) — the last is genuine behavioral guidance absent from 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 ("Ask a question and get an answer written from the workspace's files") plus the shape of the output (numbered [n] citations with fileId, name, pages). It explicitly distinguishes itself from tarkle_search_files and tarkle_read_file, so an agent can route without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives both directions: use this when you want Tarkle to read the files for you, use search_files/read_file when you want to read them yourself — with the deciding factor (credits vs no credits) spelled out. It also notes the Pro-only constraint on deep mode and the folderId narrowing behavior.

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.