Skip to main content
Glama
mhaviv

pr-narrator-mcp

by mhaviv

get_config

Read-onlyIdempotent

Retrieve current pr-narrator configuration settings including base branch, ticket pattern, link template, prefix style, and default repo path from environment variables or defaults.

Instructions

Get the current pr-narrator configuration. Returns settings from MCP env vars or defaults.

Set in MCP JSON:

  • BASE_BRANCH: Base branch for PRs (e.g., "develop")

  • TICKET_PATTERN: Ticket regex (e.g., "[A-Z]+-\d+")

  • TICKET_LINK: Ticket URL template

  • PREFIX_STYLE: "capitalized" or "bracketed"

  • DEFAULT_REPO_PATH: Fallback repo path for single-repo workflows

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoPathNoPath to the git repository. IMPORTANT: Always pass the user's current project/workspace directory.
Behavior4/5

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

Annotations already indicate readOnly and idempotent behavior. The description adds value by detailing the specific environment variables returned, such as BASE_BRANCH and TICKET_PATTERN, providing concrete context beyond annotations.

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?

The description is concise: a one-sentence summary, a line about return values, and a bullet list of settings. No redundant information, well-structured.

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?

The description fully covers the tool's purpose, the settings it returns, and lacks an output schema, but the list of settings provides sufficient context for selecting and invoking the tool.

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 100% with a well-described 'repoPath' parameter in the schema. The description does not add extra parameter semantics, but this is acceptable given the schema's sufficiency.

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 'Get the current pr-narrator configuration' and specifies it returns settings from MCP env vars or defaults. This differentiates it from sibling tools which focus on analysis, ticket extraction, and generation.

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 description implies use for retrieving configuration but does not explicitly state when to use or when not to use this tool versus alternatives. However, sibling tools have clearly distinct purposes, reducing confusion.

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/mhaviv/pr-narrator-mcp'

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