mcp

v2.1.1
io.scorecard/mcp Checked 7 hours ago Published 1 year ago

MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

create_projects

When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Create a new Project. # Response Schema ```json { $ref: '#/$defs/project', $defs: { project: { type: 'object', description: 'A Project in the Scorecard system.', properties: { id: { type: 'string', description: 'The ID of the Project.' }, description: { type: 'string', description: 'The description of the Project.' }, name: {…

ParameterTypeDescription
description *stringThe description of the Project.
name *stringThe name of the Project.
jq_filterstringA jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i…

list_projects

When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Retrieve a paginated list of all Projects. Projects are ordered by creation date, with oldest Projects first. # Response Schema ```json { type: 'object', properties: { data: { type: 'array', items: { $ref: '#/$defs/project' } }, hasMore: { type: 'boolean' }, nextCursor: { type: 'string' }, total: { type: 'integer' } }, required: [ 'data', 'ha…

ParameterTypeDescription
cursorstringCursor for pagination. Pass the `nextCursor` from the previous response to get the next page of results.
jq_filterstringA jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i…
limitintegerMaximum number of items to return (1-100). Use with `cursor` for pagination through large sets.

create_testsets

When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Create a new Testset for a Project. The Testset will be created in the Project specified in the path. # Response Schema ```json { $ref: '#/$defs/testset', $defs: { testset: { type: 'object', description: 'A collection of Testcases that share the same schema.\nEach Testset defines the structure of its Testcases through a JSON schema.\nThe `fieldMapping` object maps top-level keys of the Testcase schema to their r…

ParameterTypeDescription
description *stringThe description of the Testset.
fieldMapping *objectMaps top-level keys of the Testcase schema to their roles (input/expected output). Unmapped fields are treated as metadata.
jsonSchema *objectThe JSON schema for each Testcase in the Testset.
name *stringThe name of the Testset.
projectId *string
jq_filterstringA jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i…

update_testsets

When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Update a Testset. Only the fields provided in the request body will be updated. If a field is provided, the new content will replace the existing content. If a field is not provided, the existing content will remain unchanged. When updating the schema: - If field mappings are not provided and existing mappings reference fields that no longer exist, those mappings will be automatically removed - To preserve all existing mappings, en…

ParameterTypeDescription
testsetId *string
descriptionstringThe description of the Testset.
fieldMappingobjectMaps top-level keys of the Testcase schema to their roles (input/expected output). Unmapped fields are treated as metadata.
jq_filterstringA jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i…
jsonSchemaobjectThe JSON schema for each Testcase in the Testset.
namestringThe name of the Testset.

list_testsets

When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Retrieve a paginated list of Testsets belonging to a Project. # Response Schema ```json { type: 'object', properties: { data: { type: 'array', items: { $ref: '#/$defs/testset' } }, hasMore: { type: 'boolean' }, nextCursor: { type: 'string' }, total: { type: 'integer' } }, required: [ 'data', 'hasMore', 'nextCursor' ], $defs: { tes…

ParameterTypeDescription
projectId *string
cursorstringCursor for pagination. Pass the `nextCursor` from the previous response to get the next page of results.
jq_filterstringA jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i…
limitintegerMaximum number of items to return (1-100). Use with `cursor` for pagination through large sets.

delete_testsets

When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Delete Testset # Response Schema ```json { type: 'object', properties: { success: { type: 'boolean', description: 'Whether the deletion was successful.' } }, required: [ 'success' ] } ```

ParameterTypeDescription
testsetId *string
jq_filterstringA jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i…

get_testsets

When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Get Testset # Response Schema ```json { $ref: '#/$defs/testset', $defs: { testset: { type: 'object', description: 'A collection of Testcases that share the same schema.\nEach Testset defines the structure of its Testcases through a JSON schema.\nThe `fieldMapping` object maps top-level keys of the Testcase schema to their roles (input/expected output).\nFields not mentioned in the `fieldMapping` during creation…

ParameterTypeDescription
testsetId *string
jq_filterstringA jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i…

create_testcases

When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Create multiple Testcases in the specified Testset. # Response Schema ```json { type: 'object', properties: { items: { type: 'array', items: { $ref: '#/$defs/testcase' } } }, required: [ 'items' ], $defs: { testcase: { type: 'object', description: 'A test case in the Scorecard system. Contains JSON data that is validated against the schema defined by its Testset.\nThe…

ParameterTypeDescription
items *arrayTestcases to create (max 100).
testsetId *string
jq_filterstringA jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i…

update_testcases

When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Replace the data of an existing Testcase while keeping its ID. # Response Schema ```json { $ref: '#/$defs/testcase', $defs: { testcase: { type: 'object', description: 'A test case in the Scorecard system. Contains JSON data that is validated against the schema defined by its Testset.\nThe `inputs` and `expected` fields are derived from the `data` field based on the Testset\'s `fieldMapping`, and include all mapp…

ParameterTypeDescription
jsonData *objectThe JSON data of the Testcase, which is validated against the Testset's schema.
testcaseId *string
jq_filterstringA jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i…

list_testcases

When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Retrieve a paginated list of Testcases belonging to a Testset. # Response Schema ```json { type: 'object', properties: { data: { type: 'array', items: { $ref: '#/$defs/testcase' } }, hasMore: { type: 'boolean' }, nextCursor: { type: 'string' }, total: { type: 'integer' } }, required: [ 'data', 'hasMore', 'nextCursor' ], $defs: { t…

ParameterTypeDescription
testsetId *string
cursorstringCursor for pagination. Pass the `nextCursor` from the previous response to get the next page of results.
jq_filterstringA jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i…
limitintegerMaximum number of items to return (1-100). Use with `cursor` for pagination through large sets.

delete_testcases

When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Delete multiple Testcases by their IDs. # Response Schema ```json { type: 'object', properties: { success: { type: 'boolean', description: 'Whether the deletion was successful.' } }, required: [ 'success' ] } ```

ParameterTypeDescription
ids *arrayIDs of Testcases to delete.
jq_filterstringA jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i…

get_testcases

When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Retrieve a specific Testcase by ID. # Response Schema ```json { $ref: '#/$defs/testcase', $defs: { testcase: { type: 'object', description: 'A test case in the Scorecard system. Contains JSON data that is validated against the schema defined by its Testset.\nThe `inputs` and `expected` fields are derived from the `data` field based on the Testset\'s `fieldMapping`, and include all mapped fields, including those…

ParameterTypeDescription
testcaseId *string
jq_filterstringA jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i…

create_runs

When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Create a new Run. # Response Schema ```json { $ref: '#/$defs/run', $defs: { run: { type: 'object', description: 'A Run in the Scorecard system.', properties: { id: { type: 'string', description: 'The ID of the Run.' }, metricIds: { type: 'array', description: 'The IDs of the metrics this Run is using.', items: { type: 'st…

ParameterTypeDescription
metricIds *arrayThe IDs of the metrics this Run is using.
projectId *string
jq_filterstringA jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i…
systemVersionIdstringThe ID of the system version this Run is using.
testsetIdstringThe ID of the Testset this Run is testing.

create_metrics

Create a new Metric for evaluating system outputs. The structure of a metric depends on the evalType and outputType of the metric.

update_metrics

Update an existing Metric. You must specify the evalType and outputType of the metric. The structure of a metric depends on the evalType and outputType of the metric.

create_records

When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Create a new Record in a Run. # Response Schema ```json { $ref: '#/$defs/record', $defs: { record: { type: 'object', description: 'A record of a system execution in the Scorecard system.', properties: { id: { type: 'string', description: 'The ID of the Record.' }, expected: { type: 'object', description: 'The expected outputs for the Testcase.…

ParameterTypeDescription
expected *objectThe expected outputs for the Testcase.
inputs *objectThe actual inputs sent to the system, which should match the system's input schema.
outputs *objectThe actual outputs from the system.
runId *string
jq_filterstringA jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i…
testcaseIdstringThe ID of the Testcase.

upsert_scores

When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Create or update a Score for a given Record and MetricConfig. If a Score with the specified Record ID and MetricConfig ID already exists, it will be updated. Otherwise, a new Score will be created. The score provided should conform to the schema defined by the MetricConfig; otherwise, validation errors will be reported. # Response Schema ```json { $ref: '#/$defs/score', $defs: { score: { type: 'object', descript…

ParameterTypeDescription
metricConfigId *string
recordId *string
score *objectThe score of the Record, as arbitrary JSON. This data should ideally conform to the output schema defined by the associated MetricConfig. If it doesn't, validation errors will be captured in the `vali…
jq_filterstringA jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i…

update_systems

When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Update an existing system. Only the fields provided in the request body will be updated. If a field is provided, the new content will replace the existing content. If a field is not provided, the existing content will remain unchanged. # Response Schema ```json { $ref: '#/$defs/system', $defs: { system: { type: 'object', description: 'A System Under Test (SUT).\n\nSystems are templates - to run evaluations, pair…

ParameterTypeDescription
systemId *string
descriptionstringThe description of the system.
jq_filterstringA jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i…
namestringThe name of the system. Unique within the project.
productionVersionIdstringThe ID of the production version of the system.

list_systems

When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Retrieve a paginated list of all systems. Systems are ordered by creation date. # Response Schema ```json { type: 'object', properties: { data: { type: 'array', items: { $ref: '#/$defs/system' } }, hasMore: { type: 'boolean' }, nextCursor: { type: 'string' }, total: { type: 'integer' } }, required: [ 'data', 'hasMore', 'nextCursor' ],…

ParameterTypeDescription
projectId *string
cursorstringCursor for pagination. Pass the `nextCursor` from the previous response to get the next page of results.
jq_filterstringA jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i…
limitintegerMaximum number of items to return (1-100). Use with `cursor` for pagination through large sets.

delete_systems

When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Delete a system definition by ID. This will not delete associated system versions. # Response Schema ```json { type: 'object', properties: { success: { type: 'boolean', description: 'Whether the deletion was successful.' } }, required: [ 'success' ] } ```

ParameterTypeDescription
systemId *string
jq_filterstringA jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i…

get_systems

When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Retrieve a specific system by ID. # Response Schema ```json { $ref: '#/$defs/system', $defs: { system: { type: 'object', description: 'A System Under Test (SUT).\n\nSystems are templates - to run evaluations, pair them with a SystemVersion that provides specific\nparameter values.', properties: { id: { type: 'string', description: 'The ID of the system.' }, descr…

ParameterTypeDescription
systemId *string
jq_filterstringA jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i…

upsert_systems

When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Create a new system. If one with the same name in the project exists, it updates it instead. # Response Schema ```json { $ref: '#/$defs/system', $defs: { system: { type: 'object', description: 'A System Under Test (SUT).\n\nSystems are templates - to run evaluations, pair them with a SystemVersion that provides specific\nparameter values.', properties: { id: { type: 'string', de…

ParameterTypeDescription
config *objectThe configuration of the system.
projectId *string
descriptionstringThe description of the system.
jq_filterstringA jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i…
namestringThe name of the system. Should be unique within the project. Default is "Default system"

get_systems_versions

When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Retrieve a specific system version by ID. # Response Schema ```json { $ref: '#/$defs/system_version', $defs: { system_version: { type: 'object', description: 'A SystemVersion defines the specific settings for a System Under Test.\n\nSystem versions contain parameter values that determine system behavior during evaluation.\nThey are immutable snapshots - once created, they never change.\n\nWhen running evaluation…

ParameterTypeDescription
systemVersionId *string
jq_filterstringA jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i…

upsert_systems_versions

When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Create a new system version if it does not already exist. Does **not** set the created version to be the system's production version. If there is already a system version with the same config, its name will be updated. # Response Schema ```json { $ref: '#/$defs/system_version', $defs: { system_version: { type: 'object', description: 'A SystemVersion defines the specific settings for a System Under Test.\n\nSyst…

ParameterTypeDescription
config *objectThe configuration of the system version.
systemId *string
jq_filterstringA jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i…
namestringThe name of the system version. If creating a new system version and the name isn't provided, it will be autogenerated.