Skip to main content
Glama

Get datafile

get_datafile
Read-onlyIdempotent

Get a single datafile by slug or id, including its JSON content and last published CDN path.

Input Schema

NameRequiredDescriptionDefault
slugNothe datafile slug (provide this or datafile_id)
datafile_idNothe datafile id (provide this or slug)

Output Schema

NameRequiredDescriptionDefault
jsonNo
slugYes
schema_idNo
datafile_idYes
descriptionYes
display_nameYes
content_sha256No
last_published_pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and a closed-world scope, so the safety profile is fully covered. The description adds one useful behavioral detail — that the response includes JSON content and the last published CDN path — but says nothing about failure modes (missing slug, unpublished datafile) or permissions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with zero filler; the identifying verb and resource come first and the payload detail follows.

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?

An output schema exists for the return shape and annotations cover safety, so the description's job is small and it mostly does it. Missing only the edge-case behavior (what happens when neither parameter is supplied or the datafile is not found).

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% and both parameters are documented there with their mutual-exclusivity note ('provide this or slug'). The description only echoes 'by slug or id' without adding format or precedence rules, so baseline 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 (get), resource (datafile), scope (single) and lookup key (slug or id), which implicitly contrasts with list_datafiles. It does not explicitly name the sibling alternatives the way a top-tier definition would.

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?

Usage is only implied: 'single' vs the list_datafiles sibling, and 'by slug or id' hints at the lookup pattern. There is no explicit when-to-use/when-not, no note that exactly one of the two optional parameters should be supplied, and no alternative named.

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