Skip to main content
Glama

pin.read

Read-onlyIdempotent

Retrieve a HEAD-only source slice (path, lines, full SHA) from a Git repository for read-only evidence, with sensitive paths blocked.

Instructions

Read a HEAD-only source slice (path, lines, full SHA). Sensitive paths blocked. Prefer pin.prove when making a claim.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lineEndNo
lineStartNo
repositoryYes
sourcePathYes
Behavior4/5

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

Annotations already establish safety (readOnly, idempotent, non-destructive). The description adds 'HEAD-only' and 'Sensitive paths blocked,' which are behavioral constraints beyond annotations, giving the agent useful expectations about what will or won't succeed.

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, front-loaded with the primary purpose. No fluff; every clause adds value (action, constraints, alternative). Ideal size for a focused tool description.

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?

No output schema exists, so the description should clarify return values, but it only vaguely references 'full SHA.' It also omits line range behavior, error handling for sensitive paths, and optionality of lineStart/lineEnd. With 4 parameters and no output schema, this description leaves significant gaps for an agent to safely invoke the tool.

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 descriptions are entirely absent (0% coverage), so the description must carry parameter meaning. It mentions 'path, lines, full SHA' which hints at sourcePath and lineStart/lineEnd, but does not explain their semantics, ordering, defaults, or how 'full SHA' relates to parameters. This is insufficient for a tool with 4 parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool reads a HEAD-only source slice, specifying the resource (source code) and scope (path, lines, full SHA). It differentiates from siblings by explicitly recommending pin.prove for claim-making, indicating pin.read is for direct reading.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Provides a clear alternative: 'Prefer pin.prove when making a claim' tells when not to use this tool. It also notes sensitive paths are blocked, implying a constraint on usage. However, it does not elaborate on when to choose pin.read over other siblings like pin.inspect or pin.get_doc.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shmindmaster/gitpin'

If you have feedback or need assistance with the MCP directory API, please join our Discord server