Skip to main content
Glama

get_case_source

Read-onlyIdempotent

Reads allowlisted fixture, shared, style, and check sources to inspect fresh examples or independent verification cases, blocking access to owner projects, arbitrary paths, env files, and git history.

Instructions

Read freshly written example or independent check source from an explicit allowlist. Cannot access owner projects, arbitrary paths, environment files or git history.

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>",
      "asset": "<asset>"
    },
    "name": "get_case_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
assetYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, closed-world, non-destructive), and the description adds real value on top by disclosing the allowlist boundary and enumerating categories that are guaranteed to fail. It does not say what is returned or whether reads can be partial, but given annotation coverage this is a meaningful addition.

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?

Two tight sentences with zero filler; the affirmative capability is front-loaded and the denial list follows as a single compact clause.

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 two-enum read tool with no output schema, the definition covers access bounds but leaves the caller guessing about return shape (file content vs. path) and what each asset category yields. Adequate to attempt a call, not adequate to predict the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for two required parameters whose enum values carry all the meaning. The phrase 'example or independent check source' loosely hints at the asset categories, but nothing explains the distinction between 'fixture', 'shared', 'styles' and 'checks', nor that 'id' is one of nine fixed case slugs.

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 and resource: reading 'freshly written example or independent check source' from 'an explicit allowlist'. The scope is concrete and distinguishable from general case retrieval, though it never names a sibling or explains how the two allowed asset categories relate to the 'id'/'asset' inputs.

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 negative guidance is explicit and useful ('Cannot access owner projects, arbitrary paths, environment files or git history'), which tells the agent what this tool will refuse. However, there is no positive when-to-use framing versus get_case or get_check_rule, so the agent must infer that this is a source-file read rather than a metadata read.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.