Skip to main content
Glama

configure_sampling

Set sampling parameters for a streaming job, including interval, count, and window size, to control data collection behavior.

Instructions

Configure sampling parameters for a job.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sample_idYes
window_sizeNo
sample_countNo
sample_intervalNo
sample_all_messagesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior1/5

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

With no annotations, the description carries full burden for behavioral traits, but it is too vague. It does not disclose whether changes are persistent, if a job must be running, or any side effects. The description adds no behavioral information beyond the basic action.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single concise sentence, but it lacks substance and structure. It front-loads the action but does not provide any additional information, making it efficient but not informative enough.

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

Completeness1/5

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

Given 5 parameters, one required, and an output schema, the description does not cover parameter semantics, return values, or required setup. It is incomplete for an agent to use this tool effectively.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, yet the description fails to explain any parameters. It does not clarify the meaning of sample_id, window_size, sample_count, sample_interval, or sample_all_messages, leaving the agent to rely solely on the schema's default values.

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?

The description clearly states the tool's action: configuring sampling parameters. It uses a specific verb 'configure' and a resource 'sampling parameters', and it is distinct from siblings like execute_query_with_sampling or get_job_sample. However, it does not specify what job or how these parameters are applied, which slightly reduces clarity.

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?

No guidance is provided on when to use this tool versus siblings such as execute_query_with_sampling, restart_job_with_sampling, or get_job_sample. There is no mention of prerequisites or context for use.

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/BrooksIan/SSB-MCP-Server'

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