Skip to main content
Glama

Get extraction results

tarkle_get_extraction
Read-onlyIdempotent

The state of a run started with tarkle_extract_data (or the suggestion of tarkle_split_document, which answers with its suggested parts): status (queued, running, succeeded, failed) and, per file, its status and answers: one entry per field in the order asked, with value (as the document writes it), normalized (a plain number or an ISO date when the field is one), confidence, the page it was read from, and rows for a table. Corrections a person made in Tarkle are applied. While the status is queued or running, call again in a few seconds. Reading only: it costs nothing. A person sees their own runs; an owner or admin sees all of the workspace's.

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>",
      "runId": "<runId>"
    },
    "name": "tarkle_get_extraction"
  }
}

Input Schema

NameRequiredDescriptionDefault
runIdYesThe runId returned by tarkle_extract_data or tarkle_split_document.
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
kindNo
filesNo
pagesNo
partsNo
runIdNo
savedNo
noticeNo
statusNo
failureNo
creditsUsedNo
creditsQuotedNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered. The description still earns credit by adding permission scoping (a person sees their own runs, an owner or admin sees the whole workspace), the fact that human corrections are applied, and that reads cost nothing — none of which the annotations convey.

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-loads the resource and keeps behavioral notes short, with no filler sentences. The opening sentence is heavily nested, packing status values, per-field answer shape and normalization into one long clause, which costs some readability.

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?

Covers probability of early polling, permission visibility, correction application and the answer/field payload shape, which is more than an agent needs to call a read-only poller correctly. Return-value detail is partly redundant with the output schema but harmless.

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 runId and workspaceId already documented as coming from extract_data/split_document and list_workspaces respectively, so the description adds no new parameter meaning. Baseline 3 applies when the schema does the heavy lifting.

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 resource — the state of a run created by tarkle_extract_data or tarkle_split_document — and enumerates exactly what comes back (status, per-file status, per-field answers). Naming the two producing siblings makes it distinguishable from them without opening any schema.

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?

Gives concrete operational guidance: pass the runId returned by tarkle_extract_data or tarkle_split_document, and re-call every few seconds while status is queued or running. It lacks an explicit 'do not use for X' exclusion, but the polling and provenance conditions cover the main decision an agent faces.

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.