Skip to main content
Glama

datastore_get_chunks

Read-only

Get content chunks from a specific file in a Business Context datastore. Useful for inspecting what content has been indexed.

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": {
      "datastoreId": "<datastoreId>",
      "fileId": "<fileId>"
    },
    "name": "datastore_get_chunks"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of chunks to return (default: 20)
fileIdYesThe file ID to get chunks from
datastoreIdYesThe datastore ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds only that the output is indexed content chunks; it says nothing about ordering, chunk size, truncation behavior, or whether all chunks are returned — the annotation bar is lower, so a 3 fits.

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?

Two short sentences with zero filler, and the purpose is front-loaded before the usage hint. Slightly more telegraphic than a 5, but nothing is wasted.

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 simple three-parameter read tool with no output schema, the essentials are present. Still missing is any indication of what a 'chunk' contains or whether the limit truncates results, which an agent inspecting large files would want to know.

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 description coverage is 100%, so datastoreId, fileId, and the defaulted limit are already documented in structured form. The description adds no syntax, format, or behavioral meaning beyond that, so the baseline of 3 applies.

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?

States a specific verb+resource ('Get content chunks') scoped to 'a specific file in a Business Context datastore', which distinguishes it from sibling retrieval tools like datastore_query or datastore_get_files. It does not explicitly name those alternatives, so it stops short of a 5.

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?

'Useful for inspecting what content has been indexed' implies a diagnostic/verification use case, which is real guidance. However, it never says when to prefer datastore_query or datastore_get_document instead, and gives no prerequisites beyond the required IDs.

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.