Skip to main content
Glama

send_test_email

Idempotent

Sample tool for the Quick Start approval demo. Nothing runs; oakallow only decides. Safe to delete once you have seen the flow.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "send_test_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentNoFree-text identifier for the calling agent (a name, code or number), recorded so reports can tell agents apart.
reasonNoShort summary of why the call is being made. oakallow removes SSNs, card numbers, emails, phone numbers and addresses before storing it.
oakallow_methodNoHow the tool is invoked (a method name set up in oakallow). Must be set up, or the call is refused.
oakallow_tenantNoTenant this call is for (its external id in oakallow). Must be set up in the org, or the call is refused.
oakallow_resourceNoResource this call acts on (its external id in oakallow). Must be set up in the org, or the call is refused.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / oakallow_method
      Added value: +{
      +  "description": "How the tool is invoked (a method name set up in oakallow). Must be set up, or the call is refused.",
      +  "type": "string"
      +}
    • addedInput schema / properties / oakallow_resource
      Added value: +{
      +  "description": "Resource this call acts on (its external id in oakallow). Must be set up in the org, or the call is refused.",
      +  "type": "string"
      +}
    • addedInput schema / properties / oakallow_tenant
      Added value: +{
      +  "description": "Tenant this call is for (its external id in oakallow). Must be set up in the org, or the call is refused.",
      +  "type": "string"
      +}
  2. Added

TDQS

B3.2/5.0
Behavior4/5

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

The description adds genuinely useful behavioral context beyond the annotations: despite the 'send' name, nothing is delivered and oakallow only makes a decision, which head-stops a wrong assumption about side effects. It does not explain what the caller receives back or how the approval decision surfaces, and it sits slightly at odds with readOnlyHint=false, though the approval-recording behavior plausibly explains that.

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?

Three short sentences, front-loaded with the demo framing and the no-op guarantee, with no redundant wording. Nothing could be removed without losing meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter tool with no output schema, an agent still lacks information about what happens after the call (does it return an approval id? a pending status?) and whether check_approval_status should be used afterward. The demo framing and annotations cover the safety profile, but the end-to-end workflow is left to inference.

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 100% and the parameter descriptions already explain agent, reason (including PII stripping), and the oakallow method/tenant/resource setup requirements. The description adds nothing about any of the five parameters, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies the tool as a demo/Quick Start artifact for an approval flow and explicitly states it has no real effect, which is the most important thing to know given the name 'send_test_email'. However, it never states a concrete verb+resource outcome (e.g., 'submits a test call through oakallow's approval pipeline so you can see the flow'), so the actual purpose remains only implied.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Only an implicit usage cue exists: it is a demo, and it is 'safe to delete once you have seen the flow.' There is no when-to-use vs. when-not guidance and no differentiation from the approval-related siblings (check_approval_status, list_pending_approvals), which an agent could easily confuse with this tool.

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.