Skip to main content
Glama

Get one submission

get_batch
Read-only

Show one submission by its batch_id: state, URL counts, credits used and refunded, drip-feed progress, and the URLs the URL check skipped with the reason for each. No credits are spent. States: queued, processing, dripping (waiting for the next daily share), submitted, skipped (every URL was skipped by the URL check; credits refunded), failed (credits refunded).

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": {
      "batch_id": "<batch_id>"
    },
    "name": "get_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
batch_idYesThe submission ID (batch_id from submit_urls or list_batches).
include_urlsNoAlso list every URL in the submission (up to 500).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, but the description adds real behavioral value: no credits are consumed, and the refund semantics for skipped ('every URL was skipped by the URL check; credits refunded') and failed ('credits refunded') states are spelled out. It stops short of describing response shape details such as whether counts are absolute or per-state, but the state glossary is substantive context beyond the annotations.

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?

The definition is front-loaded with the core verb and identifier, followed by a compact field inventory and a state glossary; nearly every clause carries information. The dense semicolon-heavy state sentence is hard to scan but not padded, so it costs only a point.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description does the heavy lifting by listing the fields returned and defining each state, including refund behavior. A two-parameter read-only tool doesn't need more, though the meaning of the URL counts and how include_urls interacts with the skipped-URL list are left implicit.

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 batch_id documented as coming from submit_urls or list_batches and include_urls documented with its 500-URL cap and default. The description reinforces that batch_id selects a single submission and that skipped URLs are part of the result, but adds no syntax or format guidance beyond what the schema already supplies, so the baseline 3 applies.

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?

The description opens with a specific verb-and-resource pair ('Show one submission by its batch_id') and then enumerates exactly what the payload contains: state, URL counts, credits used/refunded, drip-feed progress, and skipped URLs with reasons. That detail lets an agent distinguish this single-record lookup from siblings like list_batches 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 Guidelines4/5

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

The enumeration of states (queued, processing, dripping, submitted, skipped, failed) and the note that dripping means waiting for the next daily share make the polling use case clear, and 'No credits are spent' removes cost hesitation. What's missing is explicit routing — it never states 'use list_batches to find the id first' or when to prefer a different tool instead of re-checking a batch.

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