Skip to main content
Glama

RequestProduct

Accept a suggestion (mark solved)

accept_solution
Idempotent

Marks one suggestion as the accepted answer and the request as solved. Only works on requests the API key's user posted. Requires an API key.

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": {
      "solution_id": "<solution_id>"
    },
    "name": "accept_solution"
  }
}

Input Schema

NameRequiredDescriptionDefault
solution_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare this as a non-read-only but idempotent and non-destructive mutation. The description adds context the annotations cannot: the operation is scoped to the caller's own requests, requires an API key, and has a two-part effect on both the suggestion and the parent request. It stops short of saying whether a previously accepted answer is replaced or what happens on failure.

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?

Two sentences, zero filler, with the primary effect stated first and the constraints second. Every clause carries information an agent needs.

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 one-parameter mutation with no output schema, the description covers purpose, authorization, ownership scope, and side effects. Remaining gaps — behavior on a closed or already-solved request, and whether an existing accepted answer is displaced — are minor for this complexity level.

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?

The single parameter solution_id has 0% schema description coverage, so the description is the only source of meaning. 'Marks one suggestion' implies the ID identifies a suggestion rather than a request, which is genuinely useful disambiguation, but it says nothing about the ID format or how to obtain it.

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 names a specific verb and resource ('Marks one suggestion as the accepted answer') and states the resulting state change on the parent request ('and the request as solved'). That is enough to distinguish it from siblings like suggest_solution and upvote_solution, which act on suggestions without resolving the request.

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?

It gives a hard precondition — only usable on requests posted by the API key's user, and an API key is required — which steers an agent away from invalid calls. However, it never says when to prefer this over upvote_solution or suggest_solution, so the alternative-selection guidance is only implied by the word 'accepted'.

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