Skip to main content
Glama

Get Datamart Resource

resource_get
Read-onlyIdempotent

Get one Datamart resource by id: a provider (e.g. "us.loc") or a directory record (library branch, school, college).

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": {
      "id": "<id>"
    },
    "name": "resource_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesDatamart id, e.g. "us.ca.sos.bizfile" or "us.ca.lib.ca0164-002"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare this to be a read-only, idempotent, non-destructive, closed-world operation, so the safety profile is covered. The description adds useful context about what kinds of entities can be retrieved, but says nothing about behavior on a missing or invalid id, nor about what fields come back.

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?

One front-loaded sentence with no filler: purpose first, then the two entity categories that make 'resource' concrete. It could be marginally tighter but nothing is redundant.

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?

For a one-parameter read tool with full schema coverage and complete annotations, the definition supplies what is needed to select and call it. The absence of any note about return values or error behavior is a minor gap, and there is no output schema to compensate.

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%, so the single id parameter and its format are already fully documented with examples. The description reinforces this by tying the id to entity types (provider vs. directory record), but adds no syntax, format, or lookup-behavior detail beyond the schema.

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?

The description uses a specific verb and resource ("Get one Datamart resource by id") and clarifies that a resource is either a provider such as "us.loc" or a directory record such as a library branch, school, or college. That makes the tool's scope concrete, though it does not explicitly name a sibling such as datamart_search as the alternative for lookup-by-attribute.

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?

The phrase "by id" implies the tool is for direct lookup once an id is known, distinguishing it implicitly from search-style siblings. However, it never states when to prefer this tool over datamart_search or what to do when only a name is known.

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