Skip to main content
Glama

Set grant outcome

set_grant_outcome
Idempotent

Record what became of a grant: closed, rejected or withdrawn, with a note. A rejection is worth keeping — why it was not enough is the most useful thing for the next round. Approvals go through create_project_from_grant instead, so no grant ends up marked granted without a project behind it.

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": {
      "grant_id": "<grant_id>",
      "status": "<status>"
    },
    "name": "set_grant_outcome"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusYes
grant_idYes
outcome_noteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare non-read-only, idempotent, non-destructive, so the safety profile is covered. The description adds genuine behavioral context beyond that: the outcome-note rationale and, importantly, the product invariant that no grant should be marked granted without a backing project — a constraint annotations cannot express.

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 short sentences, front-loaded with the action and the allowed values, then the routing rule. The motivational aside about rejections being worth keeping is slightly decorative but supports the note parameter, so it mostly earns its place.

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 small three-parameter mutation with no output schema and full annotation coverage, the description supplies what matters: the valid outcome set, the note's purpose, and the cross-tool invariant. Missing only the meaning of the "open" enum value and whether re-setting an existing outcome is allowed (the idempotent hint implies overwrite).

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 description coverage is 0%, so the description must carry all parameter meaning and it only partially does. It explains status values (minus "open") and gives purpose to outcome_note, but adds nothing about grant_id or about whether supplying a note is required for rejected outcomes.

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 and resource ("Record what became of a grant") and enumerates the terminal states it handles (closed, rejected, withdrawn). It also explicitly distinguishes itself from create_project_from_grant, so an agent can route approvals away from this tool without inspecting either 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?

Gives clear when-to-use guidance and an explicit alternative for the approval case ("Approvals go through create_project_from_grant instead"). The one gap is the "open" value present in the schema enum but never mentioned in the description, leaving the agent to guess whether this tool is also used to reopen a grant.

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