Skip to main content
Glama

Start a bounded source inspection

start_source_inspection
Read-onlyIdempotent

Prepares an HTTPS source, opens a bounded research session and queues a source_inspect probe. Supply rights_claim.claim_note with the actual rights evidence or operator assertion; the service hashes its trimmed UTF-8 bytes and returns rights_claim with the real digest. Alternatively supply an already computed claim_evidence_digest; never fabricate a hash. A digest records the claim, not legal verification. Returns session_id, probe_id, source_id, question_id, rights_claim and limits; it does not write a recipe. To ask the prepared source more (sample rows, profile columns, evaluate an aggregate), call probe_source with its dataset_id, question_id and source_id. If uncertain, preserve the coordinates and call get_source_inspection; this tool never retries preparation. For an archive (ZIP) address, pass archive_members: true: the inspection lists the archive's member names, so you can pick one and write an archive.zip recipe whose member is that exact name. A refusal RANGED_READ_UNSUPPORTED means the host cannot serve byte ranges — choose another mirror or ask the person for one; ARCHIVE_FORMAT_UNSUPPORTED means the file is not a ZIP; ARCHIVE_DIRECTORY_LIMIT means its directory is too large to list; ARCHIVE_MEMBERS_UNAVAILABLE means this deployment has not enabled archive member listing, and every other inspection works as before.

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": {
      "dataset_id": "<dataset_id>",
      "question": "<question>",
      "source": "<source>"
    },
    "name": "start_source_inspection"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYes
questionYes
dataset_idYes
archive_membersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / archive_members
      Added value: +{
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / source / properties / url / format
      Previous value: -"uri"New value: +"starts_with"
  3. Changed2 schema fields changed
    • addedInput schema / properties / source / properties / rights_claim / properties / claim_note
      Added value: +{
      +  "maxLength": 4000,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / properties / source / properties / rights_claim / required
      Previous value: -[
      -  "claimed_basis",
      -  "claim_evidence_digest"
      -]New value: +[
      +  "claimed_basis"
      +]
  4. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/destructive annotations, the description discloses the hashing behavior of claim_note (trimmed UTF-8 bytes), the explicit prohibition on fabricating a hash, the caveat that a digest records a claim rather than legal verification, the no-retry guarantee, and the exact meaning of four refusal codes. This is behavior an agent could not infer from the annotations or schema.

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?

Purpose is front-loaded and nearly every sentence adds operative information, including the refusal-code catalog that prevents wasted retries. It is delivered as one dense paragraph with no visual separation, so the error semantics and the sibling routing blur together and scan less well than they could.

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?

There is no output schema, and the description compensates by enumerating the return fields (session_id, probe_id, source_id, question_id, rights_claim, limits) and by spelling out the failure modes. For a multi-step, state-creating research workflow, an agent has everything needed to call it and to react to refusals.

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?

With 0% schema description coverage and a nested rights_claim object, the description carries the load and does so for the hardest parts: the claim_note versus claim_evidence_digest tradeoff and the archive_members=true trigger for ZIP sources. It leaves dataset_id, question, and source.name/url uninterpreted, so it is strong but not exhaustive.

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 opening sentence names a specific verb and resource ('Prepares an HTTPS source, opens a bounded research session and queues a source_inspect probe') and the description then explicitly delimits itself from siblings probe_source and get_source_inspection. It also states a negative capability ('it does not write a recipe'), which removes the most likely misread.

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?

Alternatives are named with the condition that selects them: 'To ask the prepared source more ... call probe_source with its dataset_id, question_id and source_id' and 'If uncertain, preserve the coordinates and call get_source_inspection; this tool never retries preparation.' The archive path is likewise conditional ('For an archive (ZIP) address, pass archive_members: true').

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