Skip to main content
Glama
ramgml

SourceCraft MCP Server

by ramgml

update_repository

Update a repository's description, default branch, or visibility to reflect current project settings.

Instructions

Update repository settings.

Args: owner: Repository owner repo: Repository name description: New description (optional) default_branch: New default branch (optional) visibility: New visibility (optional)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoYes
ownerYes
visibilityNo
descriptionNo
default_branchNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only says 'Update repository settings' and lists fields. It does not mention permissions required, whether changes are reversible, how omitted settings are affected, or what the response contains.

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 appropriately short and front-loaded with the purpose, followed by a compact Args list. Each line is functional, though several parameter glosses are near-tautological and could be enriched without bloating the 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?

For a mutating tool with no annotations and several optional parameters, the description is too thin. It omits prerequisites, alternative routing, effect on unmentioned settings, and accepted input values. The existence of an output schema covers return values, but the broader behavioral context is still incomplete.

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 description coverage is 0%, so the description must compensate. It provides a one-line gloss for every parameter and marks optional fields, which adds some meaning beyond the bare schema. However, it does not specify accepted values for visibility, branch-name constraints, or how the optional values interact with existing settings, leaving significant semantic gaps.

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 states a specific action and resource: 'Update repository settings.' This clearly separates it from create/delete operations on the same resource and from update operations on releases, issues, and pull requests. However, it does not explicitly contrast itself with any sibling tool, so a small differentiation gap remains.

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 guidance about when to use this tool versus alternatives such as create_repository or delete_repository. The description relies entirely on the verb 'update' to imply intent, with no explicit prerequisites, exclusions, or 'when-not-to-use' information.

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