Skip to main content
Glama
emzimmer

server-anthropic

by emzimmer

send_message

Send messages to Anthropic's Claude models using the Messages API, with support for specifying model, token limit, and optional workspace segmentation.

Instructions

Send a message to an Anthropic model using the Messages API. Requires authentication via ANTHROPIC_API_KEY environment variable. Optionally supports workspace segmentation via ANTHROPIC_WORKSPACE_ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messagesYesArray of messages to send
modelNoModel ID to use (e.g., claude-3-opus-20240229)claude-3-opus-20240229
max_tokensNoMaximum tokens to generate
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only mentions authentication requirements, omitting important behavioral traits such as rate limits, error handling, whether the operation is destructive, or what the response contains. This is insufficient for an agent to fully understand tool behavior.

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?

The description is concise with two sentences, no redundant information, and front-loads the core purpose. Every word contributes value.

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?

Given the tool's moderate complexity (3 parameters, no output schema), the description adequately covers purpose and authentication but fails to mention the return value or behavior. It is minimally viable but has clear gaps in completeness.

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 input schema has 100% description coverage, so the schema already documents all parameters. The description adds no additional parameter semantics beyond the schema, warranting a baseline score of 3.

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 clearly states the tool's purpose: 'Send a message to an Anthropic model using the Messages API.' It identifies the specific verb (send), resource (message to Anthropic model), and API context. It differentiates from the sibling tool 'list_models' which lists models, not sending messages.

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?

The description provides clear usage context by mentioning authentication requirements (ANTHROPIC_API_KEY) and optional workspace segmentation. However, it does not explicitly state when not to use this tool or mention alternatives, limiting guidance for the AI agent.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/emzimmer/server-anthropic'

If you have feedback or need assistance with the MCP directory API, please join our Discord server