Skip to main content
Glama

gateway.submit_feedback

Prepares a PMCP feedback issue for GitHub and returns a preview payload plus browser URL, requiring explicit operator consent, enabled submission, and a token before anything is posted.

Instructions

Prepare a PMCP feedback issue for GitHub. Returns an exact preview payload and a browser URL an operator can open. pmcp posts nothing itself unless the operator has enabled submission (pmcp guidance --feedback-submission on) and exported PMCP_FEEDBACK_TOKEN; confirm_submission=true records the user's consent and is not by itself authority to post.

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": {
      "title": "<title>",
      "description": "<description>"
    },
    "name": "gateway.submit_feedback"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesIssue title
issue_typeNoKind of issue to filebug
descriptionYesIssue details (technical data only)
failed_tool_callNoSpecific failed tool call (if known)
confirm_submissionNoSet true only after user confirms submission
subordinate_serverNoSubordinate MCP server involved (if known)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv3.0.1
    • addedInput schema / properties / description / minLength
      Added value: +1
    • addedInput schema / properties / failed_tool_call / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / failed_tool_call / type
      Removed value: -"string"
    • addedInput schema / properties / issue_type / description
      Added value: +"Kind of issue to file"
    • addedInput schema / properties / subordinate_server / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / subordinate_server / type
      Removed value: -"string"
    • addedInput schema / properties / title / maxLength
      Added value: +160
    • addedInput schema / properties / title / minLength
      Added value: +8
  2. First observedv1.18.0

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full behavioral burden and does so well: it discloses the default non-mutating outcome (a preview plus a URL), the exact preconditions under which a real GitHub post occurs, and the crucial caveat that confirm_submission is not itself authorization. It also implicitly corrects the most likely agent misconception (that setting the boolean causes a post), which is precisely the disclosure that matters for this tool.

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?

Three sentences, front-loaded with purpose and return values before the caveats. Each sentence adds distinct information (what it does, what it returns, when it posts), with only minor density cost from the CLI flag and environment-variable detail.

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

Completeness4/5

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

For a 6-parameter tool with no output schema and no annotations, the description covers the two things an agent most needs: the shape of the return (preview payload plus browser URL) and the consent/submission gating model. It does not describe failure modes or what the preview payload contains, but a caller could invoke it correctly from this text alone.

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?

Schema description coverage is 100%, so the baseline is 3. The description nonetheless adds meaning the schema does not: it explains that confirm_submission records consent and is not by itself authority to post, refining what the parameter actually means in the submission flow. The remaining five parameters (title, description, issue_type, failed_tool_call, subordinate_server) get no additional semantics beyond the schema.

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 opens with a specific verb and resource ('Prepare a PMCP feedback issue for GitHub') and immediately states what the caller gets back ('an exact preview payload and a browser URL'). Nothing in the sibling list overlaps with feedback filing, so the tool is unambiguous without opening the schema.

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 gives clear conditional guidance: posting only happens when an operator has run `pmcp guidance --feedback-submission on` and exported PMCP_FEEDBACK_TOKEN, and confirm_submission=true is consent-recording rather than authority to post. It stops short of naming an alternative tool or stating when an agent should prefer to file feedback versus take another action, so it is strong context rather than a full when/when-not routing rule.

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