Skip to main content
Glama

ohmyho.st

Compare source versions

source_diff
Read-onlyIdempotent

Compares files in two concrete managed versions.

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": {
      "project_id": "<project_id>",
      "from_commit_sha": "<from_commit_sha>",
      "to_commit_sha": "<to_commit_sha>"
    },
    "name": "source_diff"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes
to_commit_shaYes
from_commit_shaYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered elsewhere. Beyond that the description adds almost nothing: it does not say what a diff response looks like, whether large diffs are truncated, or what happens when the two SHAs are identical or unrelated.

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

Conciseness3/5

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

The single sentence is front-loaded and free of padding, which is good, but at this length the concision comes at the cost of substance for a three-required-parameter tool. It reads as under-specified rather than tight.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, zero schema description coverage on all three required parameters, and no annotation gaps to lean on beyond safety hints, the definition leaves an agent guessing about inputs and return shape. A diff tool needs at least the SHA-vs-branch constraint and the expected comparison output spelled out.

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%, so the description must carry parameter meaning and largely fails to. "Two concrete managed versions" only loosely maps to from_commit_sha/to_commit_sha and says nothing about the 40-hex SHA format enforced by the pattern, nor about project_id's role in scoping the comparison.

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?

"Compares files in two concrete managed versions" gives a specific verb (compares) and resource (files across two versions), so the operation is unambiguous. It does not name or contrast with siblings such as source_changes or source_versions, which is the only thing separating this from 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 Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use guidance, no prerequisites, and no named alternative. The word "concrete" weakly implies the caller must already have resolved SHAs (rather than branch names), but the reader must infer that, and nothing says when to prefer this over source_changes.

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.