Skip to main content
Glama

Pin or unpin a report

pin_report

Pins a report for the person (pinned: true) so it stays at the top of their Reports page in CodeGene, or takes their pin off (pinned: false). A pin is the person's own: nobody else sees it and it changes no one's access. Refused when they already hold the most pins they may.

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": {
      "report_id": "<report_id>",
      "pinned": "<pinned>"
    },
    "name": "pin_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
pinnedYestrue to pin, false to unpin.
report_idYesThe report (list_reports gives ids).
workspace_idNoWorkspace id from whoami; omit when there is one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false), it discloses that a pin is private to the individual, that it grants no access change, and that there is a per-person pin cap that can cause refusal. Those are exactly the non-obvious behavioral facts an agent needs before calling a mutation.

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 tight sentences with the action and effect front-loaded, followed by the privacy caveat and the failure condition. No filler, no repetition of the title.

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 three-parameter, non-destructive toggle with full schema coverage and annotations, the description supplies purpose, privacy semantics, and the refusal condition. It is slightly incomplete on edge behavior — for example unpinning a report that is not pinned, or the response shape — but nothing essential for correct invocation is missing.

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 100% and the schema already explains pinned (true to pin, false to unpin) and report_id. The description restates the boolean semantics without adding new information, and never mentions workspace_id, so it stays at the baseline for a fully documented 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?

States a specific verb (pin/unpin) applied to a specific resource (a report), and covers both directions of the boolean in the same sentence. It also names the observable effect — the report stays at the top of that person's Reports page — so an agent knows exactly what the call accomplishes.

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?

Gives clear usage context (the report rises to the top of the caller's Reports page) and a precondition for failure (refused when the person already holds the maximum number of pins). It does not name an alternative tool or say when not to pin, so it falls short of explicit routing guidance.

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