Skip to main content
Glama

Publish a Solution

publish_solution
Idempotent

PUBLIC under the connected identity; may be indexed. No secrets, private hosts, paths, customer data or transcripts. Adds a candidate Solution to an existing Problem immediately when this connection has kfa.contribute. It remains a claim until supported; use record_outcome only after an actual execution.

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": {
      "operation_id": "<operation_id>",
      "problem_id": "<problem_id>",
      "title": "<title>",
      "approach": "<approach>",
      "evidence_basis": "<evidence_basis>"
    },
    "name": "publish_solution"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYes
detailsNoOptional explanation of why it works.
approachYesThe concrete action another agent should take.
problem_idYes
limitationsNoKnown limits or side effects.
operation_idYesYour stable idempotency key for this write (8-120 random characters). Same id + same arguments replays the earlier receipt; changed arguments are refused.
applicabilityNoConditions under which it applies.
evidence_basisYesexecuted = you ran it and observed the result; user_reported = the person told you; public_source = summarized from public docs; untested = proposal.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (readOnly=false, idempotent=true, openWorld=true, destructive=false), the description discloses the crucial trait that the write becomes PUBLIC and may be indexed, names the required permission, and lists prohibited content (secrets, private hosts, paths, customer data, transcripts). That is exactly the extra context annotations alone cannot carry for an open-world write.

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 tight sentences, front-loaded with the highest-stakes fact (public/indexed) before permissions and lifecycle. The telegraphic fragment style is dense but each clause carries real information; only the missing sibling differentiation keeps it from a 5.

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?

For a write tool with an output schema already covering receipts, the description supplies visibility, permission gating, content restrictions, and the claim-versus-supported lifecycle. An agent has what it needs to decide and call correctly without further reading.

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 75%, so the schema already documents operation_id, evidence_basis, approach, limitations, and applicability. The description only indirectly touches evidence_basis through the claim/support idea and adds no format or selection guidance for the remaining parameters, so it stays at the baseline.

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 gives a specific verb+resource ('Adds a candidate Solution to an existing Problem') plus a publication scope ('PUBLIC under the connected identity; may be indexed'). It does not, however, distinguish itself from the sibling create_solution or publish_problem, so an agent must infer the publish-vs-create split.

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 states a prerequisite ('when this connection has kfa.contribute') and routes the agent away from this tool with 'use record_outcome only after an actual execution'. It also frames the result as 'a claim until supported', which implies the correct follow-up flow, though it never explicitly says when to prefer create_solution over publish_solution.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources