Skip to main content
Glama

Get donation

get_donation
Read-only

Get a single donation by id (donor, amount, purpose, provider, reference, status).

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": {
      "id": "<id>"
    },
    "name": "get_donation"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
target_tenant_idNoPlatform super-admins only: operate on this tenant instead of your own.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered by structured data. The description contributes the return payload fields (donor, amount, purpose, provider, reference, status), which is genuine added context given there is no output schema, but it says nothing about not-found behavior or how the tenant-scoped read differs.

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?

A single sentence with the action and identifier front-loaded and no filler. The parenthetical field list is compact and every token carries information.

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 simple two-parameter read tool whose safety semantics are fully carried by annotations, the definition covers what it returns and how it is keyed. The only gaps are edge-case behavior (missing id) and the meaning of the super-admin tenant override, which the schema already handles.

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 50%: target_tenant_id is documented in the schema as super-admin-only, while id has no description. The phrase "by id" confirms that id identifies the donation record, which adds modest meaning, but the description does not expand on the tenant override or id format at all.

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?

"Get a single donation by id" states a specific verb (get), resource (donation), and cardinality/access pattern (single, by id), and the parenthetical names the fields returned. It is unambiguous on its own, but it never references siblings such as donation_stats or update_donation to sharpen the boundary between reading one record versus aggregates or mutations.

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?

Usage is only implied: "by id" signals this is the lookup to use when you already have a donation identifier. There is no explicit when-to-use or when-not-to-use guidance, and no pointer to donation_stats for aggregates or update_donation for changes, leaving the agent to infer the routing.

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