Skip to main content
Glama
valentil

FeatureBoard MCP Server

by valentil

Get ticket diff

get_ticket_diff
Read-only

Capture code changes for a ticket by locating commits that reference the ticket id in their message, returning a summary and size-capped unified diff for each commit.

Instructions

Capture the code changes made for a ticket: find commits in the project's code repo (codeLocation / gitTargets.codeRepo) whose message mentions the ticket id and return, per commit, a summary (hash/author/date/subject) plus a size-capped unified diff (git show). Read-only — never writes or fetches. context sets the unified context-line count; maxBytes caps the total diff bytes returned (over-cap diffs are truncated with a notice, later commits omitted). Returns a warning (not an error) when the project has no codeLocation, the path is not a git repo, or no commits mention the ticket. Pass semantic:true to also get a deterministic semantic view (no LLM): formatting-only hunks stripped, files ordered core → tests → docs/config, mechanical renames flagged, plus a ready-to-use review-summary prompt — assistive, verify against the raw diff.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ticketYes
contextNoUnified diff context lines (default 3).
projectYes
maxBytesNoTotal diff byte cap across commits (default 60000).
semanticNoAdd a deterministic semantic view: formatting-only hunks stripped, files ordered core → tests → docs/config, mechanical renames flagged, plus a review-summary prompt (assistive — verify against the raw diff).
maxCommitsNoMax commits to inspect (default 20).
Behavior5/5

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

The description fully discloses behavioral traits: read-only, truncation with notice, omission of later commits when over cap, and warning instead of error for missing codeLocation or no matching commits. Annotations confirm readOnlyHint, and the description adds deeper context beyond that.

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?

The description is front-loaded with the core purpose and structured well, but it is somewhat verbose with extensive detail on the semantic parameter. Every sentence adds value, though some trimming could improve conciseness.

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

Completeness5/5

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

Despite no output schema, the description explains return values (per-commit summary, diff, truncation, warning) and handles edge cases (missing codeLocation, no commits). It covers all necessary context for an agent to use the tool correctly.

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

Parameters4/5

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

The description adds meaning beyond the schema for parameters like maxBytes (truncation behavior) and semantic (details of the semantic view). For project and ticket, which lack schema descriptions, the context is implied but not explicitly defined. Overall, it provides useful additional semantics.

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 captures code changes for a ticket by finding commits mentioning the ticket id and returning per-commit summaries plus a diff. The verb 'get' and resource 'ticket diff' are explicit, and the scope (from project's code repo) uniquely distinguishes it from siblings like list_code_files or read_code_file.

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?

The description explains when the tool is read-only and warns about truncation and non-error warnings, providing usage context. However, it does not explicitly state when to prefer this tool over alternatives or when not to use it, missing clear exclusions.

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/valentil/featureboard-mcp'

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