Skip to main content
Glama

skraft_pr

Publishes a finished run by pushing its skraft/ branch and opening a pull request linked to the story issue after user approval; optionally pass an issue for non-issue stories.

Instructions

Publie le travail d'un run fini : pousse sa branche skraft/ et ouvre une PR liée à l'issue de la story (« Closes #n »), après l'accord de l'utilisateur, que le client lui demande. Pour un run dont la story n'était pas une issue, donne l'issue dans issue.

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": {
      "tache": "<tache>"
    },
    "name": "skraft_pr"
  }
}

Input Schema

NameRequiredDescriptionDefault
issueNoL'issue à lier (URL ou org/dépôt#n), si la story du run n'en était pas une.
tacheYes
projetNoDossier du projet ; par défaut le premier root du client, sinon le dossier courant du serveur.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden, and it does disclose real side effects: creating a remote branch and opening a PR, gated on user approval. It does not cover idempotency (what happens if the branch or PR already exists), failure behavior, or auth/remote requirements for what is clearly a mutating, outward-facing operation.

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?

Two sentences, front-loaded with the action and followed by the conditional parameter case; nothing is padded. The clause 'que le client lui demande' is slightly awkward and could be folded into the approval statement.

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

Completeness3/5

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

For a mutating publish tool with no annotations, no output schema and a mandatory param that is never described, the definition is only partially complete. It explains the PR/issue linkage well but leaves the agent guessing what `tache` denotes and how repeated or failed publishes behave.

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?

It meaningfully explains `issue` — only needed when the run's story was not an issue, and acceptable as URL or org/repo#n. However the required parameter `tache` is undocumented in both the schema and the description, and `projet` is only covered by its schema text, leaving the single mandatory input unexplained.

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 names concrete actions on a concrete resource: it pushes the branch 'skraft/<slug>' and opens a PR linked to the story's issue with 'Closes #n'. That specificity separates it from siblings such as skraft_demarrer or skraft_arreter without needing to name them, though no explicit sibling comparison is made.

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?

It scopes use to a finished run and states a precondition ('après l'accord de l'utilisateur'), plus the fallback case for runs whose story was not an issue. It stops short of stating when NOT to call it (e.g. uncommitted work, existing PR, no remote).

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