Skip to main content
Glama

dimension_source

Search or read Dimension's local app source to inspect controllers, actions, and data formats; use a regex pattern to find code or specify a file with line ranges to read it.

Instructions

Search or read Dimension's own app source (unpacked locally from the installed app the first time) to learn its controllers, actions and data formats. Give pattern (regex) to search, or file (+ from/to lines) to read.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "dimension_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNo
fileNo
fromNo
patternNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries full behavioral load. It usefully discloses that the source is 'unpacked locally from the installed app the first time', hinting at a first-call side effect and latency, but it never states that the operation is read-only, what the output looks like, or how failures/empty matches are reported.

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 sentences, zero filler, with the resource and purpose front-loaded and the two invocation modes packed into the second sentence.

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 4-parameter, all-optional tool with no annotations and no output schema, the definition covers purpose, the unpacking side effect, and both invocation modes. The remaining gaps (return shape of a search, mutual exclusivity of pattern vs file) are real but secondary.

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 0%, so the description must carry the burden. It does define all four parameters at a basic level (pattern is a regex; file paired with from/to line numbers), but leaves open regex flavor, whether line numbers are 0- or 1-based, path format, and whether pattern and file are exclusive.

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 names a specific verb pair and resource: 'search or read Dimension's own app source', plus the goal (learn controllers, actions and data formats). None of the sibling names (dimension_render, dimension_scene, etc.) overlap with reading app internals, so it is separable, though it does not explicitly contrast itself with any sibling.

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?

It gives mode-selection guidance at the parameter level: pattern for search, file (+ from/to) for read. It does not say when this tool is preferable to any other way of learning the API, and it does not state what happens when neither mode is supplied or whether the two modes are mutually exclusive.

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